mirror of https://github.com/apache/cassandra
Copy compaction options to make sure they are reloaded.
Patch by pauloricardomg; reviewed by marcuse for CASSANDRA-7290
This commit is contained in:
parent
ea5b6246d2
commit
9376fddccf
|
|
@ -2,6 +2,7 @@
|
|||
* Add missing iso8601 patterns for date strings (6973)
|
||||
* Support selecting multiple rows in a partition using IN (CASSANDRA-6875)
|
||||
* cqlsh: always emphasize the partition key in DESC output (CASSANDRA-7274)
|
||||
* Copy compaction options to make sure they are reloaded (CASSANDRA-7290)
|
||||
|
||||
2.0.8
|
||||
* Always reallocate buffers in HSHA (CASSANDRA-6285)
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ package org.apache.cassandra.db.compaction;
|
|||
import java.util.*;
|
||||
|
||||
import com.google.common.base.Predicate;
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import com.google.common.collect.Iterables;
|
||||
import com.google.common.util.concurrent.RateLimiter;
|
||||
import org.slf4j.Logger;
|
||||
|
|
@ -76,7 +77,7 @@ public abstract class AbstractCompactionStrategy
|
|||
{
|
||||
assert cfs != null;
|
||||
this.cfs = cfs;
|
||||
this.options = options;
|
||||
this.options = ImmutableMap.copyOf(options);
|
||||
|
||||
/* checks must be repeated here, as user supplied strategies might not call validateOptions directly */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue