virajjasani commented on code in PR #2181:
URL: https://github.com/apache/phoenix/pull/2181#discussion_r2135906922
##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/BaseScannerRegionObserver.java:
##########
@@ -430,7 +430,8 @@ public void
preStoreScannerOpen(ObserverContext<RegionCoprocessorEnvironment> c,
Configuration conf = c.getEnvironment().getConfiguration();
if (isPhoenixCompactionEnabled(conf)) {
- setScanOptionsForFlushesAndCompactions(options);
+ options.setKeepDeletedCells(KeepDeletedCells.TTL);
+ options.setTTL(Long.MAX_VALUE);
Review Comment:
This looks good, i was wondering if we could use
`store.getColumnFamilyDescriptor().getTimeToLive()` value
--
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]