wypoon edited a comment on issue #4144:
URL: https://github.com/apache/iceberg/issues/4144#issuecomment-1058741293


   If you are getting that error, it means that your table's history contains 
snapshots with timestamps that are out of order. Iceberg has built in a large 
tolerance for what is "out of order", a one-minute tolerance. That means if you 
have timestamps that are out of order by sub-second or even seconds, Iceberg 
will not complain. (I think it is the opposite of what you were thinking, that 
snapshots occurring very close to each other will be problematic. Those will 
not cause this error even if the timestamps are out of order by sub-minute.)
   
   There is a bug introduced in 0.13.0, where if you write a sequence of 
snapshots more than a minute apart, and then rollback to one of the earlier 
snapshots, an incorrect timestamp is written for the rollback snapshot, 
resulting in this error (because the rollback snapshot is now out of order by 
more than a minute). This bug is fixed by 
https://github.com/apache/iceberg/pull/4135 in the 0.13.x branch, and if we 
release a 0.13.2, the fix will be there. In master, it is fixed by 
https://github.com/apache/iceberg/pull/4089.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to