[ https://issues.apache.org/jira/browse/CASSANDRA-19169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17793402#comment-17793402 ]
Sam Tunnicliffe edited comment on CASSANDRA-19169 at 12/6/23 4:07 PM: ---------------------------------------------------------------------- [-https://github.com/beobal/cassandra/commits/samt/19169-] was (Author: beobal): [https://github.com/beobal/cassandra/commits/samt/19169] > Don't NPE when initializing CFSs for local system keyspaces with UCS > -------------------------------------------------------------------- > > Key: CASSANDRA-19169 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19169 > Project: Cassandra > Issue Type: Bug > Components: Transactional Cluster Metadata > Reporter: Sam Tunnicliffe > Assignee: Sam Tunnicliffe > Priority: Normal > Fix For: 5.1-alpha1 > > > When UnifiedCompactionStrategy is used as the default, NPEs are thrown when > flushing the system keyspace tables early during startup. The system keyspace > is > initialised before the cluster metadata, but UCS currently tries to access the > current epoch when initialising the shard manager, to determine whether the > local ranges are out of date. This isn't necessary for the system keyspaces as > they use LocalStrategy and cover the whole token space. -- 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