onkar717 opened a new pull request, #948: URL: https://github.com/apache/skywalking-banyandb/pull/948
### Add Optional Time Range Fields in manifest.json for Secondary Index This PR adds optional `min_timestamp` and `max_timestamp` fields to the manifest.json file for secondary index parts. These fields are used to improve part selection during queries when time range filtering is required. **Key Changes:** - Added `MinTimestamp` and `MaxTimestamp` optional fields to `partMetadata` (manifest.json) - Refactored `WriteRequest` to explicitly include `Timestamp` field as suggested - Updated merge logic to compute and persist timestamp ranges after part merging - Enhanced part selection algorithm to use timestamp ranges for query optimization - [x] Tests(including UT, IT, E2E) are added to verify the new feature. - [x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Fixes apache/skywalking-banyandb#13620. - [ ] Update the [`CHANGES` log](https://github.com/apache/skywalking-banyandb/blob/main/CHANGES.md). -- 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]
