You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/02/02 21:48:36 UTC
[GitHub] [cassandra] frankgh commented on a change in pull request #1428: [CASSANDRA-17002] Support gossip state transitions a Virtual Table
frankgh commented on a change in pull request #1428:
URL: https://github.com/apache/cassandra/pull/1428#discussion_r798040335
##########
File path: doc/modules/cassandra/pages/new/virtualtables.adoc
##########
@@ -290,6 +292,25 @@ SELECT total - progress AS remaining
FROM system_views.sstable_tasks;
....
+=== Recent Gossip State Transitions Virtual Table
+
+The `gossip_state_transitions` virtual table provides information about
+the most recent Gossip state transitions recorded per peer. The number
+of transitions per peer can be configured by the
+`max_gossip_state_transitions_size` property, which defaults to 10.
+This table only considers peers in the ring (it doesn't track transitions
+for evicted peers).
+
+....
+cqlsh:system_views> SELECT * FROM gossip_state_transitions;
+
+ address | port | timestamp | dc | generation | heartbeat | host_id | hostname | internal_address_and_port | internal_ip | load | native_address_and_port | net_version | rack | release_version | removal_coordinator | rpc_address | rpc_ready | schema | severity | sstable_versions | status | status_with_port | tokens
Review comment:
The table has multiple rows, potentially thousands. I think we can query a subset of the columns for documentation purposes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org