mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-4.1' into trunk
This commit is contained in:
commit
eca75a42ef
|
|
@ -125,6 +125,7 @@
|
|||
* Rename DisableFlag class to EnableFlag on guardrails (CASSANDRA-17544)
|
||||
|
||||
4.1.2
|
||||
* Fix NPE when loading snapshots and data directory is one directory from root (CASSANDRA-18359)
|
||||
* Do not submit hints when hinted_handoff_enabled=false (CASSANDRA-18304)
|
||||
* Fix COPY ... TO STDOUT behavior in cqlsh (CASSANDRA-18353)
|
||||
* Remove six and Py2SaferScanner merge cruft (CASSANDRA-18354)
|
||||
|
|
|
|||
|
|
@ -107,6 +107,10 @@ public class SnapshotLoader
|
|||
@Override
|
||||
public FileVisitResult preVisitDirectory(Path subdir, BasicFileAttributes attrs)
|
||||
{
|
||||
// see CASSANDRA-18359
|
||||
if (subdir.getParent() == null || subdir.getParent().getFileName() == null)
|
||||
return FileVisitResult.CONTINUE;
|
||||
|
||||
if (subdir.getParent().getFileName().toString().equals(SNAPSHOT_SUBDIR))
|
||||
{
|
||||
logger.trace("Processing directory " + subdir);
|
||||
|
|
|
|||
Loading…
Reference in New Issue