nick-boss-tech commented on code in PR #4959:
URL: https://github.com/apache/solr/pull/4959#discussion_r4139537509
##########
solr/core/src/java/org/apache/solr/cloud/api/collections/SplitShardCmd.java:
##########
@@ -1053,6 +1014,46 @@ private void cleanupAfterFailure(
}
}
+ /**
+ * Slice-state rollback for a failed split, or {@code null} if the committed
switch-over must not
+ * be undone. Always includes parent=ACTIVE so a stale snapshot cannot skip
the restore.
Review Comment:
Thanks for clarifying. I’ve reworded that sentence to make it clearer that
cleanup puts the parent shard back in ACTIVE.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]