i was avoiding paying attention to this part of the codebase from the eventstore/badger implementation but right now currently cleaning the hell out of it and restructuring it a little... in several places it needlessly trims down 64 bit values to 32 bit, which means that the database has maybe got a 2 year lifespan before the primary record keys overflow, and the timestamps... also shortened to 32 bit which means they also overflow circa 2038

not that these are big concerns right at this minute, for a high time preference programmer but for a serious, long-term codebase this is exactly the sort of thing that cannot be allowed to continue

by the time these numbers run out, at the 64 bit size, the potential size of storage capabilities is far beyond what currently will blow up in 2 years time with a mini y2k bug

Reply to this note

Please Login to reply.

Discussion

No replies yet.