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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to