Skip to content

Commit

Permalink
Deduplication of changelogs in a batch (gluster#4398)
Browse files Browse the repository at this point in the history
Signed-off-by: Sanju Rakonde <[email protected]>
  • Loading branch information
sanjurakonde authored Dec 4, 2024
1 parent 2060330 commit 7663679
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geo-replication/syncdaemon/primary.py
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,7 @@ def process_change(self, change, done, retry):
self.batch_stats["DATA_START_TIME"] = time.time()

# sync data
datas = datas - self.datas_in_batch
if datas:
self.a_syncdata(datas)
self.datas_in_batch.update(datas)
Expand Down

0 comments on commit 7663679

Please sign in to comment.