Commit 4039f4da authored by Julien Muchembled's avatar Julien Muchembled

client: report tid when logging records with wrong checksum

parent f47dd646
...@@ -464,8 +464,8 @@ class Application(ThreadedApplication): ...@@ -464,8 +464,8 @@ class Application(ThreadedApplication):
= self._askStorage(conn, packet) = self._askStorage(conn, packet)
if data or checksum != ZERO_HASH: if data or checksum != ZERO_HASH:
if checksum != makeChecksum(data): if checksum != makeChecksum(data):
logging.error('wrong checksum from %s for oid %s', logging.error('wrong checksum from %s for %s@%s',
conn, dump(oid)) conn, dump(oid), dump(tid))
raise NEOStorageReadRetry(False) raise NEOStorageReadRetry(False)
return (decompress_list[compression](data), return (decompress_list[compression](data),
tid, next_tid, data_tid) tid, next_tid, data_tid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment