tkhurana commented on code in PR #2574:
URL: https://github.com/apache/phoenix/pull/2574#discussion_r3786585161


##########
phoenix-core-server/src/main/java/org/apache/phoenix/hbase/index/IndexRegionObserver.java:
##########
@@ -794,18 +808,16 @@ private void 
addOnDupMutationsToBatch(MiniBatchOperationInProgress<Mutation> min
    */
   private void 
updateMutationsForConditionalTTL(MiniBatchOperationInProgress<Mutation> 
miniBatchOp,
     BatchMutateContext context) throws IOException {
-    // If TTL is not strict, skip conditional TTL processing
-    if (!context.isStrictTTLForInternalScan) {
+    if (!context.isConditionalTTL()) {

Review Comment:
   There is confusion. We have `hasConditionalTTL` which is true when when 
mutation batch has conditionalTTL along with strict TTL being true. That is 
confusing naming wise. We also have `context.hasConditionalTTL` and 
`context.isConditionalTTL`. 



-- 
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]

Reply via email to