Summary
In convertSegmentMetadataToModel (go/pkg/sysdb/coordinator/model_db_convert.go), the final log.Debug call passed nil to zap.Any("segmentMetadata", ...) instead of the resolved metadata value, so debug logs never showed the converted segment metadata.
Expected
Debug logging should record the actual metadata pointer/value after the empty-metadata normalization (including when it is nil).
Summary
In
convertSegmentMetadataToModel(go/pkg/sysdb/coordinator/model_db_convert.go), the finallog.Debugcall passedniltozap.Any("segmentMetadata", ...)instead of the resolvedmetadatavalue, so debug logs never showed the converted segment metadata.Expected
Debug logging should record the actual
metadatapointer/value after the empty-metadata normalization (including when it isnil).