vmware-archive / sre-test

Greenplum - Open Source SRE test project.
2 stars 0 forks source link

"gpstate -s" segment output fields not in sync #112

Closed bala-cg closed 3 years ago

bala-cg commented 3 years ago

Page No : 779

Issue: "gpstate -s" segment output fields not in sync.

For example

Document: The following output fields are reported by gpstate -s for each segment: Table 67: gpstate output data for segments Output Data Description

Hostname system-configured host name Address network address host name (NIC name) Datadir file system location of segment data directory Port port number of segment postgres database listener process Current Role current role of a segment: Mirror or Primary Preferred Role role at system initialization time: Mirror or Primary Mirror Status status of a primary/mirror segment pair: Synchronized = data is up to date on both Resynchronization = data is currently being copied from one to the other Change Tracking = segment down and active segment is logging changes Change tracking data size when in Change Tracking mode, the size of the change log file (may grow and shrink as compression is applied) Estimated total data to synchronize when in Resynchronization mode, the estimated size of data left to synchronize Data synchronized when in Resynchronization mode, the estimated size of data that has already been synchronized Estimated resync progress with mirror When in Resynchronization mode, the estimated percentage of completion

Estimated resync end time when in Resynchronization mode, the estimated time to complete File postmaster.pid status of postmaster.pid lock file: Found or Missing PID from postmaster.pid file PID found in the postmaster.pid file Lock files in /tmp a segment port lock file for its postgres process is created in /tmp (file is removed when a segment shuts down) Active PID active process ID of a segment Master reports status as segment status as reported in the system catalog: Up or Down Database status status of Greenplum Database to incoming requests: Up, Down, or Suspended. A Suspended state means database activity is temporarily paused while a segment transitions from one state to another.

fifthposition commented 3 years ago

Docs story created.