Divneet Kaur created PHOENIX-8074:
-------------------------------------

             Summary: Increase default CDC TTL_DELETE mutation batch size to 500
                 Key: PHOENIX-8074
                 URL: https://issues.apache.org/jira/browse/PHOENIX-8074
             Project: Phoenix
          Issue Type: Improvement
            Reporter: Divneet Kaur
            Assignee: Divneet Kaur


PHOENIX-7677 added batching for the TTL_DELETE CDC index writes made during 
major compaction. The batch size comes from 
phoenix.cdc.ttl.mutation.batch.size, and its default 
(QueryServicesOptions.DEFAULT_CDC_TTL_MUTATION_BATCH_SIZE) is 50. This change 
raises the default to 500, which cuts the number of batch writes per compaction 
when many rows expire.

It also adds an integration test that inserts and updates a large number of 
rows (10k–20k) so that a major compaction expires only some of them (~6–7k). 
The test checks that every expired row gets exactly one TTL_DELETE CDC event 
with the correct pre-image, and that rows that didn't expire get none.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to