Package org.apache.cassandra.tracing
Class TraceKeyspace
- java.lang.Object
-
- org.apache.cassandra.tracing.TraceKeyspace
-
public final class TraceKeyspace extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EVENTS
static long
GENERATION
Generation is used as a timestamp for automatic table creation on startup.static java.lang.String
SESSIONS
static java.util.Set<java.lang.String>
TABLE_NAMES
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyspaceMetadata
metadata()
-
-
-
Field Detail
-
GENERATION
public static final long GENERATION
Generation is used as a timestamp for automatic table creation on startup. If you make any changes to the tables below, make sure to increment the generation and document your change here. gen 1577836800000000: (3.0) maps to Jan 1 2020; an arbitrary cut-off date by which we assume no nodes older than 2.0.2 will ever start; see the note below for why this is necessary; actual change in 3.0: removed default ttl, reduced bloom filter fp chance from 0.1 to 0.01. gen 1577836800000001: (pre-)adds coordinator_port column to sessions and source_port column to events in 3.0, 3.11, 4.0 gen 1577836800000002: compression chunk length reduced to 16KiB, memtable_flush_period_in_ms now unset on all tables in 4.0 * Until CASSANDRA-6016 (Oct 13, 2.0.2) and in all of 1.2, we used to create system_traces keyspace and tables in the same way that we created the purely local 'system' keyspace - using current time on node bounce (+1). For new definitions to take, we need to bump the generation further than that.- See Also:
- Constant Field Values
-
SESSIONS
public static final java.lang.String SESSIONS
- See Also:
- Constant Field Values
-
EVENTS
public static final java.lang.String EVENTS
- See Also:
- Constant Field Values
-
TABLE_NAMES
public static final java.util.Set<java.lang.String> TABLE_NAMES
-
-
Method Detail
-
metadata
public static KeyspaceMetadata metadata()
-
-