skoppu22 commented on a change in pull request #1428:
URL: https://github.com/apache/cassandra/pull/1428#discussion_r797973292
##########
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:
This table format has many columns, only one row. It's very difficult to
map column name with corresponding value, as wrapping to multiple lines. I feel
having them as rows will make viewing and also scrolling comfortable. What do
you think?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]