Skip to content

Commit

Permalink
log.
Browse files Browse the repository at this point in the history
  • Loading branch information
hoseinaghaei committed Feb 15, 2024
1 parent 187571f commit 19e2ca0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kafka_server/broker/file/indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ def __dir_path(self) -> str:

def send_to_replica(self):
if self.replica is None:
print("No replica found /n/n/n")
return
url = f'{self.replica}/replica/index'
data = {'partition': self.partition, 'read': self._read, 'sync': self._sync}
Expand Down

0 comments on commit 19e2ca0

Please sign in to comment.