goutamadwant opened a new pull request, #19180:
URL: https://github.com/apache/pinot/pull/19180

   Closes #10458
   
   ## What this PR does
   
   - Adds a dedicated `PUT 
/segments/{tableNameWithType}/{segmentName}/metadata` API for updating the 
segment ZK metadata custom map.
   - Validates the expected segment CRC through `If-Match` and uses the ZK 
record version for compare-and-set protection.
   - Routes unchanged single-segment conversions through the metadata-only API, 
avoiding segment compression and upload.
   - Falls back to the existing refresh-only upload path when a mixed-version 
controller does not expose the new endpoint.
   
   ## Backward compatibility
   
   The endpoint is additive. Existing upload behavior is unchanged for modified 
segments, and older controllers continue to work through the fallback path.
   
   ## Tests
   
   - `PinotSegmentRestletResourceTest`
   - `BaseSingleSegmentConversionExecutorTest`
   - Pinot pre-commit checks for `pinot-common`, `pinot-controller`, and 
`pinot-minion-builtin-tasks`
   
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to