[ARVADOS] updated: faefe8fc192886b35be484d5a6bb9f5a6a87b53f
git at public.curoverse.com
git at public.curoverse.com
Mon May 18 14:49:48 EDT 2015
Summary of changes:
crunch_scripts/crunchutil/vwd.py | 6 ++++++
1 file changed, 6 insertions(+)
via faefe8fc192886b35be484d5a6bb9f5a6a87b53f (commit)
from 27616fe74103c079a84ac34b2adb83f1952c5772 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit faefe8fc192886b35be484d5a6bb9f5a6a87b53f
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon May 18 14:50:44 2015 -0400
3198: VWD syncs collection before loading from API server.
diff --git a/crunch_scripts/crunchutil/vwd.py b/crunch_scripts/crunchutil/vwd.py
index ca4116d..0ae1c46 100644
--- a/crunch_scripts/crunchutil/vwd.py
+++ b/crunch_scripts/crunchutil/vwd.py
@@ -73,6 +73,12 @@ def checkin(target_dir):
if pdh is not None:
# 2. load collection
if pdh not in collections:
+ # 2.1 make sure it is flushed (see #5787 note 11)
+ fd = os.open(real[0], os.O_RDONLY)
+ os.fsync(fd)
+ os.close(fd)
+
+ # 2.2 get collection from API server
collections[pdh] = arvados.collection.CollectionReader(pdh,
api_client=outputcollection._my_api(),
keep_client=outputcollection._my_keep(),
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list