xiangfu0 commented on PR #19236: URL: https://github.com/apache/pinot/pull/19236#issuecomment-7402411604
@gortiz The versioned PUT now requires fresh credentials when a standalone property map containing a marker changes, including legacy stream properties and custom configs. Other maps can still be edited independently. The SPI and controller tests cover those cases in 72a25f0c2a. I considered PATCH. It would let clients omit unchanged credentials, but changing a destination would still require a rule for using the stored credential. The existing PUT has a generation check and supports clients that send the full config, so I’d keep that contract for this change. For migration, the PR describes how existing JSON readers keep their response shape and how read/modify/write clients opt into the versioned representation. I’d keep redaction enabled on master. A cluster-wide opt-out would give every table reader access to stored credentials. If a client still needs raw reads, I’d favor a separately authorized operation. A release-branch default is a separate decision for the backport review. -- 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]
