StephanEwen commented on issue #10300: [FLINK-14926] [state backends] Make sure 
no resource leak of RocksObject
URL: https://github.com/apache/flink/pull/10300#issuecomment-562616754
 
 
   Actually, I think we cannot merge the options factory change either. It has 
the same problem as the `PredefinedOptions`. There is one factory (configured 
once on the RocksDBStateBackendObject` and from that factory, mulitple sets of 
options are created. If one RocksDB instance is closed, the close() method on 
the factory is called and may close objects also from other created options.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to