[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francisco Guerrero updated CASSSIDECAR-325:
-------------------------------------------
     Bug Category: Parent values: Correctness(12982)Level 1 values: 
Unrecoverable Corruption / Loss(13161)
       Complexity: Normal
      Component/s: CDC
    Discovered By: User Report
         Severity: Normal
           Status: Open  (was: Triage Needed)

If the fallback value and the actual {{CdcTotalSpaceSetting}} diverge a lot, 
there is potential that the {{cdc_raw}} directory does not get cleaned up, 
potentially causing mutations to get backed up.

> CdcRawDirectorySpaceCleaner always uses fallback after the first time it is 
> queried from system_views.settings
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSSIDECAR-325
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-325
>             Project: Sidecar for Apache Cassandra
>          Issue Type: Bug
>          Components: CDC
>            Reporter: Francisco Guerrero
>            Assignee: Francisco Guerrero
>            Priority: Major
>
> In the 
> {{org.apache.cassandra.sidecar.tasks.CdcRawDirectorySpaceCleaner#maxUsage}} 
> method, the {{cdcTotalSpaceSetting}} value is populated the first time it 
> successfully queries the {{system_views.settings}} table. However, subsequent 
> successful queries do not return the value if the value has not changed. This 
> causes the code to return the configured 
> {{fallbackCdcRawDirectoryMaxSizeBytes}} value.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to