Expose OccValidationPolicy to the Java API#12547
Conversation
|
Hi @vjeko! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
d08cbc5 to
c082d35
Compare
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
adamretter
left a comment
There was a problem hiding this comment.
Looks good in general. Some small things need changing. We also need JUnit tests to accompany the code please?
Thanks for taking a look! Yes, that was the plan. I'll ping you once the CL is considered finished. Thanks again! |
6e018a8 to
6c20910
Compare
6c20910 to
907ba38
Compare
|
Hi @adamretter -- the CL is ready for review. Would you mind taking another look? Thanks! |
|
@adamretter Just checking to see if you have time to review this CL? Thanks! |
| * | ||
| * @return The type of OCC Validation Policy used. | ||
| */ | ||
| OccValidationPolicy getOccValidationPolicy() { |
There was a problem hiding this comment.
Function scope should be "public" and not "package-private"
There was a problem hiding this comment.
Getters in RocksJava are typically not prefixed get - see other classes for the naming convention.
adamretter
left a comment
There was a problem hiding this comment.
Looking much better - just a couple of small fixes needed.
Allow users of RocksDB JNI to specify the OCC Validation Policy when using OptimisticTransactionOptionsDB.
907ba38 to
15fff9e
Compare
|
@adamretter Could you take a look again? Thanks! |
|
@adamretter Can you let me know if anything else needs to be done for this CL? Thanks! |
|
@ajkr @pdillinger Could someone merge this please? |
Allow users of RocksDB JNI to specify the OCC Validation Policy when using OptimisticTransactionOptionsDB.