News for hackers. Stuff that matters.
Re:Bedrock – Rock-solid distributed data by ngrilly on Wednesday October 19, 2016 @07:59AM (#12742986)
> 2158341079 writes

I'm curious: how do you keep track of this number?

Re:Bedrock – Rock-solid distributed data by quinthar on Wednesday October 19, 2016 @12:13PM (#12745093)
Every write transaction ever committed to the database is assigned a unique ID, and the most recent few million transactions are kept in a "journal" table. This is what allows nodes to figure out what happened while they were offline and re-execute the missing transactions. A side-effect of that is we know exactly how many write transactions have ever been committed.
Re:Bedrock – Rock-solid distributed data by ngrilly on Wednesday October 19, 2016 @01:02PM (#12745520)
That's a funny side-effect! Should I understand the transaction unique ID is an incrementing number?
Re:Bedrock – Rock-solid distributed data by quinthar on Wednesday October 19, 2016 @01:54PM (#12746029)
Correct!
Re:Bedrock – Rock-solid distributed data by justinclift on Wednesday October 19, 2016 @05:42PM (#12747952)
Out of curiosity, what's the value that'll wrap around at?
Re:Bedrock – Rock-solid distributed data by ngrilly on Wednesday October 19, 2016 @02:10PM (#12746189)
Thanks :-)