Skip to content

Commit 5cc910d

Browse files
committed
fix: slave delete all topic config and subGroup config when sync config from master
1 parent 7fc5452 commit 5cc910d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ private void syncTopicConfig() {
9595
if (!newTopicConfigTable.containsKey(entry.getKey())) {
9696
iterator.remove();
9797
}
98-
topicConfigManager.deleteTopicConfig(entry.getKey());
9998
}
10099

101100
//update
@@ -190,7 +189,6 @@ private void syncSubscriptionGroupConfig() {
190189
if (!newSubscriptionGroupTable.containsKey(configEntry.getKey())) {
191190
iterator.remove();
192191
}
193-
subscriptionGroupManager.deleteSubscriptionGroupConfig(configEntry.getKey());
194192
}
195193
// update
196194
newSubscriptionGroupTable.values().forEach(subscriptionGroupManager::putSubscriptionGroupConfig);

0 commit comments

Comments
 (0)