Skip to content

Conversation

@shenyunlong
Copy link
Contributor

@shenyunlong shenyunlong commented Dec 25, 2023

Summary

In this pull request, We implemented a new interface checkAndInsUp, which means that insert up operations are performed only if the check is successful, and this interface is useful in some cases, such as asynchronous log synchronization in different clusters, need to check the timestamp of the data, and only allow newer operations to be performed.

Solution Description

We added some flags in obTableQueryAndMutate and reused this rpc message to pass the check and execute semantics, and the obkv server will perform this rpc call and return a response to the client. In addition, in order to support batch checking and modification and improve throughput, we implement a new batch rpc message format ObTableLSOpRequest.

@shenyunlong shenyunlong force-pushed the master branch 2 times, most recently from b3b3b7a to 6d6fe60 Compare January 8, 2024 02:01
@IHEII
Copy link
Contributor

IHEII commented Jan 8, 2024

LGTM

@shenyunlong shenyunlong merged commit e078efe into oceanbase:master Jan 8, 2024
eemjwu pushed a commit to eemjwu/obkv-table-client-java that referenced this pull request Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants