[BUG](sysdb): preserve legacy hnsw: metadata keys - #6953
Conversation
|
Fix This PR fixes a regression in It also adds a targeted unit test that builds a This summary was automatically generated by @propel-code-bot |
Reviewer ChecklistPlease leverage this checklist to ensure your code review is thorough before approving Testing, Bugs, Errors, Logs, Documentation
System Compatibility
Quality
|
aae6dd8 to
378e1cd
Compare
Legacy "hnsw:" prefixed keys are user-visible collection metadata and must round-trip through CreateCollectionRequest. The previous code incorrectly filtered them out during conversion from proto. - Remove metadata.retain() call that stripped hnsw: keys - Add unit test verifying hnsw:space survives round-trip - Annotate schema property tests with @multi_region_test Co-authored-by: AI
378e1cd to
a2213d6
Compare
Description of changes
Legacy "hnsw:" prefixed keys are user-visible collection metadata
and must round-trip through CreateCollectionRequest. The previous
code incorrectly filtered them out during conversion from proto.
Test plan
CI
Migration plan
N/A
Observability plan
N/A
Documentation Changes
N/A
Co-authored-by: AI