mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
82c57b2bf8
Summary: populate the position from the latest journal delta. To facilitate this, we also define the mountGeneration value to be a combination of the pid and the time at which we created the EdenMount object, as well as a global counter that we bump for each mount. The precise value and meaning of this bits really doesn't matter, just that we are unlikely to pick the same value for this same mountPoint path again if we were to remount in the future. Since we are now in a position to report JournalPosition values to clients, now is also a good time to fill out the `currentPosition` field for the `getMaterializedEntries` thrift call, and to check that this value is consistent with the value we return via `getCurrentJournalPosition`. Reviewed By: simpkins Differential Revision: D3872952 fbshipit-source-id: 2fbc25d2e9711035b66ab1bf5d746507b72de265 |
||
---|---|---|
.. | ||
cli | ||
config | ||
inodes | ||
integration | ||
journal | ||
model | ||
rocksdb | ||
service | ||
store |