10181: Fix race in MarshalManifest.
authorTom Clegg <tclegg@veritasgenetics.com>
Sat, 22 Sep 2018 06:07:22 +0000 (02:07 -0400)
committerTom Clegg <tclegg@veritasgenetics.com>
Sat, 22 Sep 2018 06:07:22 +0000 (02:07 -0400)
commit27d98c4c36f840686d5b7414500c7b006e80c114
treebf8cd924f72a0466580ff6b631e7db112e848c88
parente7b3a06c0176f74082db9b436f773af2003cb824
10181: Fix race in MarshalManifest.

Ensure child nodes stay locked between sync and marshal. Otherwise
concurrent file writes can add new memSegments that can't be
marshaled.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
sdk/go/arvados/fs_collection.go
sdk/go/arvados/fs_collection_test.go