You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "kzalys (via GitHub)" <gi...@apache.org> on 2026/10/05 18:39:17 UTC

[PR] Optionally save the key cache during drain [cassandra]

kzalys opened a new pull request, #5232:
URL: https://github.com/apache/cassandra/pull/5232

   ## Summary
   - add `key_cache_save_on_shutdown`, disabled by default
   - save the key cache synchronously during drain when enabled
   - serialize shutdown saves with periodic cache writers and preserve active-compaction accounting
   - document the option and cover enabled, disabled, failure, and concurrent-save behavior
   
   ## Testing
   - `ant test -Dtest.name=org.apache.cassandra.cache.AutoSavingCacheTest`
   - `ant test -Dtest.name=org.apache.cassandra.db.compaction.ActiveCompactionsTest`
   - `ant test -Dtest.name=org.apache.cassandra.distributed.test.KeyCacheSaveOnShutdownTest`
   - `ant checkstyle`


-- 
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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] Optionally save the key cache during drain [cassandra]

Posted by "kzalys (via GitHub)" <gi...@apache.org>.
kzalys commented on PR #5232:
URL: https://github.com/apache/cassandra/pull/5232#issuecomment-6021735512

   > Please add a Jira ticket for this PR
   
   yup, still working on finishing up the PR, let me convert it to a draft


-- 
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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org


Re: [PR] Optionally save the key cache during drain [cassandra]

Posted by "bbotella (via GitHub)" <gi...@apache.org>.
bbotella commented on PR #5232:
URL: https://github.com/apache/cassandra/pull/5232#issuecomment-6015985195

   Please add a Jira ticket for this PR


-- 
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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org