sapling/eden/scm/lib/indexedlog
Jun Wu f238529a97 multilog: use per-log meta to pick up updated indexes
Summary:
With MultiLog, per-log meta was previously entirely ignored. However, they can
be useful for updated indexes. For example, application defines a new index,
and opens a Log via MultiLog. The application would expect the new index is
built only once. Without MultiLog, per-log meta is updated at open time in
place. With MultiLog, the updated index meta is not written back to the
multimeta so the new index would be rebuilt multiple times undesirably.

Update MultiLog to reuse the per-log meta if it's compatible so it can pick up
new indexes.

Reviewed By: sfilipco

Differential Revision: D23488212

fbshipit-source-id: c8b3e6b5589dbda2e76a143d15085862a93dae22
2020-09-03 13:48:43 -07:00
..
benches indexedlog: fix a typo in benchmarks 2020-03-18 09:30:31 -07:00
src multilog: use per-log meta to pick up updated indexes 2020-09-03 13:48:43 -07:00
tests indexedlog: switch from bytes to minibytes 2020-02-12 13:57:37 -08:00
Cargo.toml indexedlog: use dev-logger 2020-03-10 14:16:39 -07:00