subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1726382 - /subversion/branches/parallel-put/subversion/libsvn_fs_x/transaction.c
Date Sat, 23 Jan 2016 11:41:13 GMT
Author: stefan2
Date: Sat Jan 23 11:41:13 2016
New Revision: 1726382

URL: http://svn.apache.org/viewvc?rev=1726382&view=rev
Log:
On the parallel-put branch:
Fix broken FNV1 checksums for file texts in FSX.  FSX now passes all tests
in concurrent as well as traditional txn mode.

* subversion/libsvn_fs_x/transaction.c
  (rep_write_contents_close): Be sure to explicitly close the REP_STREAM
                              after completing the representation.  This
                              triggers the FNV1 completion.

Modified:
    subversion/branches/parallel-put/subversion/libsvn_fs_x/transaction.c

Modified: subversion/branches/parallel-put/subversion/libsvn_fs_x/transaction.c
URL: http://svn.apache.org/viewvc/subversion/branches/parallel-put/subversion/libsvn_fs_x/transaction.c?rev=1726382&r1=1726381&r2=1726382&view=diff
==============================================================================
--- subversion/branches/parallel-put/subversion/libsvn_fs_x/transaction.c (original)
+++ subversion/branches/parallel-put/subversion/libsvn_fs_x/transaction.c Sat Jan 23 11:41:13
2016
@@ -2734,6 +2734,7 @@ rep_write_contents_close(void *baton)
 
       /* Write out our cosmetic end marker. */
       SVN_ERR(svn_stream_puts(b->rep_stream, "ENDREP\n"));
+      SVN_ERR(svn_stream_close(b->rep_stream));
       SVN_ERR(allocate_item_index(&rep->id.number, b->fs, txn_id,
                                   b->local_pool));
 



Mime
View raw message