Skip to content

Commit

Permalink
chore: change prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
CookiePieWw committed Jan 21, 2025
1 parent 3bb903d commit 79561b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/meta/src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
//! 12. Kafka topic key: `__topic_name/kafka/{topic_name}`
//! - The key is used to mark existing topics in kafka for WAL.
//!
//! 13. Topic name to region map key `__topic_region_map/{topic_name}/{region_id}`
//! 13. Topic name to region map key `__topic_region/{topic_name}/{region_id}`
//! - The key is used to map a pair of topic name and region id.
//!
//! All keys have related managers. The managers take care of the serialization and deserialization
Expand Down Expand Up @@ -170,7 +170,7 @@ pub const NODE_ADDRESS_PREFIX: &str = "__node_address";
pub const KAFKA_TOPIC_KEY_PREFIX: &str = "__topic_name/kafka";
// The legacy topic key prefix is used to store the topic name in previous versions.
pub const LEGACY_TOPIC_KEY_PREFIX: &str = "__created_wal_topics/kafka";
pub const TOPIC_REGION_MAP_PREFIX: &str = "__topic_region_map";
pub const TOPIC_REGION_MAP_PREFIX: &str = "__topic_region";

/// The keys with these prefixes will be loaded into the cache when the leader starts.
pub const CACHE_KEY_PREFIXES: [&str; 5] = [
Expand Down

0 comments on commit 79561b0

Please sign in to comment.