Skip to content

[BUG] convertSegmentMetadataToModel debug logs nil instead of metadata #6885

@cuiweixie

Description

@cuiweixie

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions