TileDB icon indicating copy to clipboard operation
TileDB copied to clipboard

Group metadata doesn't get serialized

Open robertbindar opened this issue 3 years ago • 1 comments

As @snagles reported, the group metadata seems to be written correctly, but it's empty when you try to read it. I managed to reproduce it locally by opening a TileDB Cloud group, then created a test for it by serializing-deserializing a group with metadata locally. The serialization code is calling Group::metadata() to get the md object, but the Metadata content is not brought up from disk, so the group looks like it has no metadata. Group::load_metadata needs to be called to make sure we serialize a synced version of Metadata.

This bug most probably can be reproduced in 2.9 as well as the code looks identical in those parts.


TYPE: BUG DESC: Group metadata doesn't get serialized

robertbindar avatar May 09 '22 11:05 robertbindar

I believe Cloud team has worked around this issue for now, converting to draft pending further discussion with @Shelnutt2.

ihnorton avatar May 13 '22 19:05 ihnorton