sapling/tests
Stanislau Hlebik f50e19a70e mononoke: compress file history
Summary:
This diff adds handling of "overflows" i.e. making sure that each FastlogBatch
doesn't store more than 60 entries.
The idea is that FastlogBatch has "latest" entries and "previous_batches". New
entry is prepended to "latest", but if "latest" has more than 10 entries then
new FastlogBatch is uploaded and prepended to "previous_batches". If
"previous_batches" has more than 5 entries than the oldest entries is removed
from the batch.

Note that merges are still not handled in this diff, this functionality will be added in the next
diffs

Reviewed By: krallin

Differential Revision: D17160506

fbshipit-source-id: 956bc5320667c6c5511d2a567740a4f6ebd8ac1b
2019-09-03 07:30:55 -07:00
..
fixtures mononoke: compress file history 2019-09-03 07:30:55 -07:00
integration mononoke: do not generate hgchangeset unnecessarily 2019-09-02 04:18:16 -07:00
utils remove not needed BlobRepo::*{store|fetch} methods 2019-08-30 13:34:29 -07:00
write_stub_log_entry/src mononoke: convert DB connection instantiation to future 2019-07-16 03:17:58 -07:00