sarkaramrit1993 opened a new pull request, #5198:
URL: https://github.com/apache/solr/pull/5198

   https://issues.apache.org/jira/browse/SOLR-17953
   
   # Description
   
   Backport of [#5066](https://github.com/apache/solr/pull/5066) to 
`branch_9x`. A stray hidden file like `.DS_Store` in a backup directory breaks 
restore, list, and delete of incremental backups. Reported on 9.8.1.
   
   # Solution
   
   Same change as #5066. The only conflict was in `BackupCmd`, where 
`branch_9x` still has the non-incremental path. I kept its `else if 
(incremental)` and applied the hidden-file filter inside it. The 9x test uses 
`AbstractDistribZkTestBase` and `Collectors.toList()` to build on Java 11.
   
   # Tests
   
   `BackupFilePathsTest`, `LocalFSCloudIncrementalBackupTest`, 
`TestLocalFSCloudBackupRestore` and `DeleteBackupCmdTest` pass locally, along 
with `gradlew check -x test`.


-- 
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]

Reply via email to