You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by dc...@apache.org on 2020/09/16 19:35:12 UTC
[cassandra] branch trunk updated: ninja fix. While merging up
CASSANDRA-14103 the merge missed setting sstable level in MockSchema
This is an automated email from the ASF dual-hosted git repository.
dcapwell pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new ea322bf ninja fix. While merging up CASSANDRA-14103 the merge missed setting sstable level in MockSchema
ea322bf is described below
commit ea322bfaa78b662c95711e6579b480b4d0f741c6
Author: David Capwell <dc...@apache.org>
AuthorDate: Wed Sep 16 12:34:52 2020 -0700
ninja fix. While merging up CASSANDRA-14103 the merge missed setting sstable level in MockSchema
---
test/unit/org/apache/cassandra/schema/MockSchema.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/unit/org/apache/cassandra/schema/MockSchema.java b/test/unit/org/apache/cassandra/schema/MockSchema.java
index 7d2d874..dc207ee 100644
--- a/test/unit/org/apache/cassandra/schema/MockSchema.java
+++ b/test/unit/org/apache/cassandra/schema/MockSchema.java
@@ -141,6 +141,7 @@ public class MockSchema
}
SerializationHeader header = SerializationHeader.make(cfs.metadata(), Collections.emptyList());
StatsMetadata metadata = (StatsMetadata) new MetadataCollector(cfs.metadata().comparator)
+ .sstableLevel(level)
.finalizeMetadata(cfs.metadata().partitioner.getClass().getCanonicalName(), 0.01f, UNREPAIRED_SSTABLE, null, false, header)
.get(MetadataType.STATS);
SSTableReader reader = SSTableReader.internalOpen(descriptor, components, cfs.metadata,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org