mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-4.1' into trunk
This commit is contained in:
commit
7ecbad7ee8
|
|
@ -91,6 +91,7 @@
|
|||
* Add guardrail for ALTER TABLE ADD / DROP / REMOVE column operations (CASSANDRA-17495)
|
||||
* Rename DisableFlag class to EnableFlag on guardrails (CASSANDRA-17544)
|
||||
Merged from 4.1:
|
||||
* Avoid ConcurrentModificationException in STCS/DTCS/TWCS.getSSTables (CASSANDRA-17977)
|
||||
* Fix ContentionStrategy backoff and Clock.waitUntil (CASSANDRA-18086)
|
||||
* Avoid schema mismatch problems on memtable API misconfiguration (CASSANDRA-18040)
|
||||
* Start Paxos auto repair in CassandraDaemon (CASSANDRA-18029)
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ public class DateTieredCompactionStrategy extends AbstractCompactionStrategy
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Set<SSTableReader> getSSTables()
|
||||
protected synchronized Set<SSTableReader> getSSTables()
|
||||
{
|
||||
return ImmutableSet.copyOf(sstables);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -336,7 +336,7 @@ public class SizeTieredCompactionStrategy extends AbstractCompactionStrategy
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Set<SSTableReader> getSSTables()
|
||||
protected synchronized Set<SSTableReader> getSSTables()
|
||||
{
|
||||
return ImmutableSet.copyOf(sstables);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ public class TimeWindowCompactionStrategy extends AbstractCompactionStrategy
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Set<SSTableReader> getSSTables()
|
||||
protected synchronized Set<SSTableReader> getSSTables()
|
||||
{
|
||||
return ImmutableSet.copyOf(sstables);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue