We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent addace2 commit dbf5681Copy full SHA for dbf5681
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSourceManager.java
@@ -906,8 +906,10 @@ public void join() {
906
for (ReplicationSourceInterface source : this.sources.values()) {
907
source.terminate("Region server is closing");
908
}
909
- for (ReplicationSourceInterface source : this.oldsources) {
910
- source.terminate("Region server is closing");
+ synchronized (oldsources) {
+ for (ReplicationSourceInterface source : this.oldsources) {
911
+ source.terminate("Region server is closing");
912
+ }
913
914
915
0 commit comments