sapling/eden/fs
Wez Furlong ba685f30eb refresh data pack store on tree miss
Summary:
this is required together with D5711177 to successfully perform an `hg
amend`.   The changes in D5711177 cause the pending pack files to get written
out and the amend command will then call into eden to change the parents of the
commit.

We need to be able to resolve the tree from the packfiles when this happens,
but since this happens within the default refresh interval in the store code
(which is ~100ms) we need to explicitly refresh the set of pack files.

This is most easily accomplished by forcing a refresh on a tree miss.
This is probably fine if you assume that we won't legitimately be asked
to resolve non-existent trees very frequently.

Reviewed By: simpkins

Differential Revision: D5712623

fbshipit-source-id: 4d0034affcc276f1ae29caac36aa5596e52cd746
2017-08-25 21:57:28 -07:00
..
config Auto-dep the auto-dep'd TARGETS 2017-07-02 15:50:51 -07:00
fuse add a tag parameter to ThreadLocal<EdenStats> 2017-08-18 11:50:56 -07:00
inodes Diagnostic tool to report Stat information of EdenFs 2017-08-25 12:49:35 -07:00
journal fix journal merging of remove followed by create events 2017-08-17 12:33:51 -07:00
model add == and != comparisons for Tree objects 2017-07-05 11:21:30 -07:00
rocksdb Merge StringBase.cpp into String.cpp 2017-06-29 20:20:11 -07:00
service Diagnostic tool to report Stat information of EdenFs 2017-08-25 12:49:35 -07:00
store refresh data pack store on tree miss 2017-08-25 21:57:28 -07:00
testharness add a tag parameter to ThreadLocal<EdenStats> 2017-08-18 11:50:56 -07:00
utils Modification of unloadChildrenNow 2017-08-18 14:20:43 -07:00