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

   `ProtoBufCodeGenMessageDecoder` now only loads the jar file from locations 
listed in the JVM system property 
`pinot.protobuf.codegen.decoder.allowed.jar.locations` (comma-separated 
directories or URI prefixes, e.g. 
`/opt/pinot/protobuf,s3://my-bucket/protobuf`). The decoder cannot be used when 
the property is not set.
   
   ## Backward incompatibility
   
   Deployments using `ProtoBufCodeGenMessageDecoder` must set the property on 
servers before upgrading, e.g. 
`-Dpinot.protobuf.codegen.decoder.allowed.jar.locations=/opt/pinot/protobuf`.
   
   ## Testing
   
   - `ProtoBufCodeGenMessageDecoderTest` (unit): new cases for the unset 
property and for jar files outside the allowed locations.
   - `ProtoBufCodeGenMessageDecoderTest` (integration).


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