mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
f50e19a70e
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 |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
utils | ||
write_stub_log_entry/src |