Commit b61ec4cc authored by Jeremy Hylton's avatar Jeremy Hylton

Provide more verbose explanation of time-stamp reduction in error msg

parent 50754cda
...@@ -107,7 +107,8 @@ def check_trec(path, file, pos, ltid, file_size): ...@@ -107,7 +107,8 @@ def check_trec(path, file, pos, ltid, file_size):
tmeta_len = TREC_HDR_LEN + ul + dl + el tmeta_len = TREC_HDR_LEN + ul + dl + el
if tid <= ltid: if tid <= ltid:
raise FormatError("%s time-stamp reduction at %s" % (path, pos)) raise FormatError("%s time-stamp reduction at %s: %s <= %s" %
(path, pos, hexify(tid), hexify(ltid)))
ltid = tid ltid = tid
tl = U64(stl) # transaction record length - 8 tl = U64(stl) # transaction record length - 8
......
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