sbtourist / Journal.IO

Journal.IO is a zero-dependency, fast and easy-to-use journal storage implementation.
Apache License 2.0
260 stars 39 forks source link

Wrong append location when deleting last location and reopening Journal #44

Closed sbtourist closed 11 years ago

sbtourist commented 11 years ago

When the last location is deleted from a Journal (but not previous ones), and then the Journal is closed and reopened, the recovery check wrongly computes the last append location, making location pointers not monotonic.