PHOENIX-7759: Preserve buffered mutations when batch size limit is exceeded#2371
PHOENIX-7759: Preserve buffered mutations when batch size limit is exceeded#2371haridsv wants to merge 8 commits intoapache:masterfrom
Conversation
phoenix-core-client/src/main/java/org/apache/phoenix/execute/MutationState.java
Show resolved
Hide resolved
phoenix-core-client/src/main/java/org/apache/phoenix/execute/MutationState.java
Show resolved
Hide resolved
|
@sanjeet006py Good eye on catching the gaps! Yes, both would be backwards incompatible but I didn't make it conditional because both are pretty corner case scenarios that are very unlikely to be of practical use cases. In fact, it can be considered a good idea if some remote use case is slipping through larger mutations than intended, as they would get caught and will make the developers to make adjustments, after all these can be considered as bug fixes. However, I am open to make them conditional if anyone has a solid counter argument. |
|
The spotless errors are outside the changed files in the PR and they are coming even though I already ran spotless. |
|
Most of checkstyle errors are also in existing lines. Only the below are in the changed lines: The second one is following the existing pattern so I will leave it as is for consistency. I will fix the first one. |
|
There us ibe junit test failure: This can't be related to my change and must be a flapper. |
Summary
phoenix.mutate.preserveOnLimitExceededthat changes mutation limit behavior, which can be overridden at the connection level via connection properties.MutationLimitReachedException(for executeUpdate) andMutationLimitBatchException(for executeBatch) to signal recoverable limit conditionsTest plan
JIRA: PHOENIX-7759