You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2019/12/02 16:29:58 UTC

[cassandra] branch 15441-3.11 created (now ec767a9)

This is an automated email from the ASF dual-hosted git repository.

aleksey pushed a change to branch 15441-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git.


      at ec767a9  Bump generations and document changes to system_distributed and system_traces in 3.0, 3.11

This branch includes the following new commits:

     new ec767a9  Bump generations and document changes to system_distributed and system_traces in 3.0, 3.11

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


[cassandra] 01/01: Bump generations and document changes to system_distributed and system_traces in 3.0, 3.11

Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

aleksey pushed a commit to branch 15441-3.11
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit ec767a935e9aaf906528b0c64350e90571efcd47
Author: Aleksey Yeshchenko <al...@apache.org>
AuthorDate: Mon Dec 2 16:08:03 2019 +0000

    Bump generations and document changes to system_distributed and system_traces in 3.0, 3.11
    
    patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe for
    CASSANDRA-15441
---
 .../org/apache/cassandra/repair/SystemDistributedKeyspace.java     | 7 +++++--
 src/java/org/apache/cassandra/tracing/TraceKeyspace.java           | 3 ++-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/java/org/apache/cassandra/repair/SystemDistributedKeyspace.java b/src/java/org/apache/cassandra/repair/SystemDistributedKeyspace.java
index a63c13f..eb2226b 100644
--- a/src/java/org/apache/cassandra/repair/SystemDistributedKeyspace.java
+++ b/src/java/org/apache/cassandra/repair/SystemDistributedKeyspace.java
@@ -68,9 +68,12 @@ public final class SystemDistributedKeyspace
      * If you make any changes to the tables below, make sure to increment the
      * generation and document your change here.
      *
-     * gen 0: original definition in 3.0
+     * gen 0: original definition in 2.2
+     * gen 1: (pre-)add options column to parent_repair_history in 3.0, 3.11
+     * gen 2: (pre-)add coordinator_port and participants_v2 columns to repair_history in 3.0, 3.11, 4.0
+     * gen 3: gc_grace_seconds raised from 0 to 10 days in CASSANDRA-12954 in 3.11.0
      */
-    public static final long GENERATION = 0;
+    public static final long GENERATION = 3;
 
     public static final String REPAIR_HISTORY = "repair_history";
 
diff --git a/src/java/org/apache/cassandra/tracing/TraceKeyspace.java b/src/java/org/apache/cassandra/tracing/TraceKeyspace.java
index 04b49a5..0d7c4f1 100644
--- a/src/java/org/apache/cassandra/tracing/TraceKeyspace.java
+++ b/src/java/org/apache/cassandra/tracing/TraceKeyspace.java
@@ -46,12 +46,13 @@ public final class TraceKeyspace
      * 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
      *
      * * 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.
      */
-    public static final long GENERATION = 1577836800000000L;
+    public static final long GENERATION = 1577836800000001L;
 
     public static final String SESSIONS = "sessions";
     public static final String EVENTS = "events";


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org