Skip to content

Commit 46b7a98

Browse files
authored
[ISSUE #9403] Fix the issue of metadata synchronization failure between master and slave when the topic has attributes (#9404)
1 parent 9654299 commit 46b7a98

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

broker/src/main/java/org/apache/rocketmq/broker/slave/SlaveSynchronize.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ private void syncTopicConfig() {
9999
}
100100

101101
//update
102-
newTopicConfigTable.values().forEach(topicConfigManager::updateSingleTopicConfigWithoutPersist);
103-
102+
newTopicConfigTable.values().forEach(topicConfigManager::putTopicConfig);
103+
topicConfigManager.updateDataVersion();
104104
topicConfigManager.persist();
105105
}
106106
if (topicWrapper.getTopicQueueMappingDetailMap() != null

0 commit comments

Comments
 (0)