sapling/lib/indexedlog
Jun Wu 9361d54b04 indexedlog: make sure meta file is created
Summary:
Previously, `load_or_create_meta` could return without actually creating the
meta file. That leads to problems when `load_or_create_meta` is called a
second time via `flush()`, it rewrites the primary file incorrectly. On Windows,
it will fail to rewrite the primary file.

Fix it by actually writing a meta file before returning.

Reviewed By: sfilipco

Differential Revision: D14568118

fbshipit-source-id: da3ad42bf48a923d732b1719839ca1953bd2b06c
2019-03-22 11:37:35 -07:00
..
benches indexedlog: increase key count for size test 2018-12-06 14:57:52 -08:00
src indexedlog: make sure meta file is created 2019-03-22 11:37:35 -07:00
Cargo.toml indexedlog: move binary indexedlog_dump out 2018-12-18 08:17:21 -08:00