epugh commented on code in PR #3142:
URL: https://github.com/apache/solr/pull/3142#discussion_r1932855830
##########
solr/core/src/test/org/apache/solr/handler/TestReplicationHandler.java:
##########
@@ -1037,8 +1036,7 @@ private int indexDirCount(String ddir) {
@Override
public boolean accept(File dir, String name) {
File f = new File(dir, name);
- return f.isDirectory()
- &&
!SolrSnapshotMetaDataManager.SNAPSHOT_METADATA_DIR.equals(name);
+ return f.isDirectory() && !name.startsWith("snapshot");
Review Comment:
this seems so "magical" that you have to know about a "snapshot".
--
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]