Francisco Guerrero created CASSANDRA-21578:
----------------------------------------------
Summary: Protect uncaught_exceptions virtual table against the
crash path
Key: CASSANDRA-21578
URL: https://issues.apache.org/jira/browse/CASSANDRA-21578
Project: Apache Cassandra
Issue Type: Bug
Reporter: Francisco Guerrero
Assignee: Francisco Guerrero
In CASSANDRA-20858, a virtual table was added to add the ability to query
uncaught exceptions. However, this patch brought three issues that we are
trying to address here:
- Guard the persist(t) call so a throw can't skip inspectThrowable's
disk_failure_policy / OOM die handling.
- Drain preInitialisationBuffer under its monitor in flush() to avoid a
ConcurrentModificationException that could abort node startup.
- Bound preInitialisationBuffer so a startup exception storm (or a tool context
that never flushes) can't retain stack traces without limit.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]