Package org.apache.cassandra.tracing
Class TraceKeyspace
java.lang.Object
org.apache.cassandra.tracing.TraceKeyspace
-
Field Details
-
GENERATION
public static final long GENERATIONGeneration 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:
-
SESSIONS
- See Also:
-
EVENTS
- See Also:
-
TABLE_NAMES
-
-
Method Details
-
metadata
-