sapling/remotefilelog
Tony Tung 155c9bcabf basepack: handle race condition between incremental packing and pack loading
Summary: If someone removes the pack file, getpack will throw an IOError.  Catch it and don't bother trying to add the pack to the list of available packs.

Test Plan: pdb.set_trace() in this method, then remove a file while the debugger is halted.  continue without a traceback.

Reviewers: #mercurial, quark

Reviewed By: quark

Subscribers: mitrandir

Differential Revision: https://phabricator.intern.facebook.com/D3712310

Tasks: 12660285

Signature: t1:3712310:1471080740:85f2e3f49b09f348ec654362eadf5f1e689b8a19
2016-08-15 11:41:49 -07:00
..
cdatapack [cdatapack] madvise the memory away 2016-08-15 11:39:14 -07:00
ctreemanifest [ctree] fix build on clang 2016-08-10 13:04:38 -07:00
__init__.py repack: move background repack into requirement check 2016-08-05 10:00:22 -07:00
basepack.py basepack: handle race condition between incremental packing and pack loading 2016-08-15 11:41:49 -07:00
basestore.py cachegroup: fix directory permissions for shared cache 2016-07-07 15:58:59 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
constants.py store: basic wire protocol for bundle delivery 2016-05-16 10:59:09 -07:00
contentstore.py unionstore: allow incomplete delta chains 2016-05-26 02:15:46 -07:00
datapack.py [cdatapack] create a fastdatapack class 2016-08-05 14:35:29 -07:00
debugcommands.py [datapack] add --node as a parameter to dump extra data about a node 2016-07-28 17:15:21 -07:00
fileserverclient.py fileserverclient: remotefilepeer could have not implemented "cleanup" 2016-08-11 15:14:54 +01:00
historypack.py repack: unmap memory occasionally to reclaim space 2016-07-12 11:46:48 -07:00
metadatastore.py unionstore: allow partial history output from union stores 2016-05-26 02:13:53 -07:00
remotefilectx.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelog.py copyfrom: fix copy metadata in local blobs 2016-06-06 14:16:06 -07:00
remotefilelogserver.py flogheads: return an empty list when requesting heads of a non-existing filelog 2016-08-02 10:41:41 -07:00
repack.py repack: fix repack heuristic to account for unusual copies 2016-07-07 15:58:47 -07:00
shallowbundle.py shallowbundle: specifically compare instance to remotefilelog.remotefilelog 2016-07-15 23:53:09 -07:00
shallowrepo.py [cdatapack] create a fastdatapack class 2016-08-05 14:35:29 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py cachegroup: fix directory permissions for shared cache 2016-07-07 15:58:59 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00