hanahmily opened a new pull request, #789: URL: https://github.com/apache/skywalking-banyandb/pull/789
The tagType field in partMergeIter was being shared with blockMetadata, causing it to be reset when blockMetadata.reset() was called. This led to empty tagType maps during block iteration. Changes: - Use maps.Copy() instead of direct assignment in blockMetadata.unmarshal() to create independent copies of tagType maps - Remove tagType copying logic in blockReader.nextMetadata() that was causing the sharing issue - Change partMergeIter.reset() to set tagType to nil instead of clearing - Add a comprehensive test case to verify tagType isolation per part - [x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Fixes apache/skywalking#13515. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
