PumpkinDB: Problem: wall clock going back in time between restarts will break HLC guarantee
Basically, it means that after a restart values returned by HLC
will be less than those
generated before.
Proposed solution: let timestamp module persist last generated HLC.
Letting it store in the same database is rather intricate: there might be no write txn, the write txn might never succeed, etc. So I propose that PumpkinDB maintains a separate “meta” database within the environment with its own transactions.
Any better solution (that would involve I/O penalty?)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 22 (20 by maintainers)
Commits related to this issue
- Merge pull request #183 from omarkj/omarkj-statics-meta-hlc Problem: HLC invariants can be broken (#32) and too much use of static — committed to PumpkinDB/PumpkinDB by yrashk 7 years ago
This would mean introducing READMETA transaction scheduler, committing to certain structures, etc.
What if we had a standard API to access metrics and different components exposed their data through it? On Tue, Feb 28, 2017 at 8:31 AM Omar Yasin notifications@github.com wrote: