haridsv opened a new pull request, #2371: URL: https://github.com/apache/phoenix/pull/2371
## Summary - Adds new configuration property `phoenix.mutate.preserveOnLimitExceeded` that changes mutation limit behavior, which can be overridden at the connection level via connection properties. - When enabled, limit checks occur BEFORE state modification, preserving existing buffered mutations - Introduces `MutationLimitReachedException` (for executeUpdate) and `MutationLimitBatchException` (for executeBatch) to signal recoverable limit conditions - Allows applications to commit buffered mutations and continue processing instead of losing state ## Test plan - Added integration tests for row count and byte size limits with preserve mode - Added tests for executeBatch with autoCommit on/off - Added tests for edge cases: row merge, conflicting rows (ON DUPLICATE KEY), constructor limit exceeded - Added test for legacy behavior (preserveOnLimitExceeded=false) - Verified estimatedSize tracking for conflicting rows JIRA: [PHOENIX-7759](https://issues.apache.org/jira/browse/PHOENIX-7759) -- 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]
