You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/07/11 10:09:26 UTC
[GitHub] [cassandra] jacek-lewandowski commented on a diff in pull request #1678: Cassandra 17658
jacek-lewandowski commented on code in PR #1678:
URL: https://github.com/apache/cassandra/pull/1678#discussion_r917763792
##########
src/java/org/apache/cassandra/schema/Schema.java:
##########
@@ -626,7 +628,9 @@ public void resetLocalSchema()
updateHandler.clear();
logger.debug("Clearing local schema keyspace instances...");
- clear();
+ distributedKeyspaces.forEach(this::unload);
+ updateVersion(SchemaConstants.emptyVersion);
+ SchemaDiagnostics.schemaCleared(this);
Review Comment:
good point, I need to revisit this
--
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