[ARVADOS] updated: b87fa03691e188df52756608c9bff4e00d8ec290

git at public.curoverse.com git at public.curoverse.com
Tue Sep 8 15:13:55 EDT 2015


Summary of changes:
 sdk/python/arvados/arvfile.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  b87fa03691e188df52756608c9bff4e00d8ec290 (commit)
      from  102d938387b2bbfe5b2e7bd9b8267b767a15719b (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 b87fa03691e188df52756608c9bff4e00d8ec290
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Sep 8 15:13:50 2015 -0400

    7225: ArvadosFile.flush() commits all underlying blocks.
    
    Fix a typo that caused only the last block to be flushed.
    Refs #7225.

diff --git a/sdk/python/arvados/arvfile.py b/sdk/python/arvados/arvfile.py
index ce0e5e3..106f7a7 100644
--- a/sdk/python/arvados/arvfile.py
+++ b/sdk/python/arvados/arvfile.py
@@ -929,7 +929,7 @@ class ArvadosFile(object):
                 bb = self.parent._my_block_manager().get_bufferblock(s.locator)
                 if bb:
                     if bb.state() != _BufferBlock.COMMITTED:
-                        self.parent._my_block_manager().commit_bufferblock(self._current_bblock, sync=True)
+                        self.parent._my_block_manager().commit_bufferblock(bb, sync=True)
                     to_delete.add(s.locator)
                     s.locator = bb.locator()
             for s in to_delete:

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list