Vote count: 0
As per MongoDB official docs, they states that:
ObjectId values consists of 12-bytes, where the first four bytes are a timestamp that reflect the ObjectId’s creation, specifically:
- a 4-byte value representing the seconds since the Unix epoch,
- a 3-byte machine identifier,
- a 2-byte process id, and
- a 3-byte counter, starting with a random value.
I'm just wondering what's gonna happen on Tue, 19 Jan 2038 03:14:08 GMT when the unix time will be equal to 2147483648 which doesn't fit the 4-byte timestamp in ObjectId *philosoraptor meme*
asked 48 secs ago
How can mongodb handle ObjectId timestamp beyond Tue, 19 Jan 2038?
Aucun commentaire:
Enregistrer un commentaire