mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.11
This commit is contained in:
commit
7e68448235
|
|
@ -11,6 +11,7 @@
|
|||
* Reduce thread contention in CommitLogSegment and HintsBuffer (CASSANDRA-16072)
|
||||
* Avoid sending CDC column if not enabled (CASSANDRA-16770)
|
||||
Merged from 3.0:
|
||||
* Upgrade logback to 1.2.9 (CASSANDRA-17204)
|
||||
* Avoid race in AbstractReplicationStrategy endpoint caching (CASSANDRA-16673)
|
||||
* Fix abort when window resizing during cqlsh COPY (CASSANDRA-15230)
|
||||
* Fix slow keycache load which blocks startup for tables with many sstables (CASSANDRA-14898)
|
||||
|
|
|
|||
|
|
@ -351,8 +351,8 @@
|
|||
<dependency groupId="org.slf4j" artifactId="slf4j-api" version="1.7.7"/>
|
||||
<dependency groupId="org.slf4j" artifactId="log4j-over-slf4j" version="1.7.7"/>
|
||||
<dependency groupId="org.slf4j" artifactId="jcl-over-slf4j" version="1.7.7" />
|
||||
<dependency groupId="ch.qos.logback" artifactId="logback-core" version="1.1.3"/>
|
||||
<dependency groupId="ch.qos.logback" artifactId="logback-classic" version="1.1.3"/>
|
||||
<dependency groupId="ch.qos.logback" artifactId="logback-core" version="1.2.9"/>
|
||||
<dependency groupId="ch.qos.logback" artifactId="logback-classic" version="1.2.9"/>
|
||||
<dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-core" version="2.12.5"/>
|
||||
<dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-databind" version="2.12.5"/>
|
||||
<dependency groupId="com.fasterxml.jackson.core" artifactId="jackson-annotations" version="2.12.5"/>
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ public class DatabaseDescriptorRefTest
|
|||
"org.apache.cassandra.config.YamlConfigurationLoader$CustomConstructor",
|
||||
"org.apache.cassandra.config.TransparentDataEncryptionOptions",
|
||||
"org.apache.cassandra.dht.IPartitioner",
|
||||
"org.apache.cassandra.distributed.impl.InstanceClassLoader",
|
||||
"org.apache.cassandra.distributed.shared.InstanceClassLoader",
|
||||
"org.apache.cassandra.distributed.impl.InstanceConfig",
|
||||
"org.apache.cassandra.distributed.impl.InvokableInstance",
|
||||
"org.apache.cassandra.distributed.impl.InvokableInstance$CallableNoExcept",
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ import org.slf4j.Logger;
|
|||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import ch.qos.logback.classic.LoggerContext;
|
||||
import ch.qos.logback.classic.joran.ReconfigureOnChangeTask;
|
||||
import ch.qos.logback.classic.spi.TurboFilterList;
|
||||
import ch.qos.logback.classic.turbo.ReconfigureOnChangeFilter;
|
||||
import ch.qos.logback.classic.turbo.TurboFilter;
|
||||
|
|
@ -60,6 +61,7 @@ import org.apache.cassandra.transport.Event.SchemaChange.Target;
|
|||
import org.apache.cassandra.transport.ProtocolVersion;
|
||||
import org.apache.cassandra.transport.messages.ResultMessage;
|
||||
|
||||
import static ch.qos.logback.core.CoreConstants.RECONFIGURE_ON_CHANGE_TASK;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
|
|
@ -1899,6 +1901,16 @@ public class AggregationTest extends CQLTester
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
ReconfigureOnChangeTask roct = (ReconfigureOnChangeTask) ctx.getObject(RECONFIGURE_ON_CHANGE_TASK);
|
||||
if (roct != null)
|
||||
{
|
||||
// New functionality in logback - they replaced ReconfigureOnChangeFilter (which runs in the logging code)
|
||||
// with an async ReconfigureOnChangeTask - i.e. in a thread that does not become sandboxed.
|
||||
// Let the test run anyway, just we cannot reconfigure it (and it is pointless to reconfigure).
|
||||
return;
|
||||
}
|
||||
|
||||
assertTrue("ReconfigureOnChangeFilter not in logback's turbo-filter list - do that by adding scan=\"true\" to logback-test.xml's configuration element", done);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue