OldSnapshotTimemapLock information is missing in monitoring.sgml file

Started by Ashutosh Sharmaover 9 years ago3 messages
#1Ashutosh Sharma
ashu.coek88@gmail.com
1 attachment(s)

Hi All,

monitoring.sgml file has the list of all the wait event names that is
being monitored by pg_stat_activity but as one of the LWLock named
'OldSnapshotTimemapLock' was added recently as the part of git commit
'848ef42b' -->"Add the "snapshot too old" feature", this lwlock
information is currently missing in the monitoring.sgml file. I have
added the necessary information about the same in this file and
attached is the patch. Thanks.

With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com

Attachments:

OldSnapshotTimemapLock_doc.patchtext/x-patch; charset=US-ASCII; name=OldSnapshotTimemapLock_doc.patchDownload
diff --git a/doc/src/sgml/monitoring.sgml b/doc/src/sgml/monitoring.sgml
index b620feb..916ca79 100644
--- a/doc/src/sgml/monitoring.sgml
+++ b/doc/src/sgml/monitoring.sgml
@@ -969,6 +969,11 @@ postgres   27093  0.0  0.0  30096  2752 ?        Ss   11:34   0:00 postgres: ser
          <entry>Waiting to read or truncate multixact information.</entry>
         </row>
         <row>
+         <entry><literal>OldSnapshotTimeMapLock</></entry>
+         <entry>Waiting to read or update old snapshot control
+		 information.</entry>
+        </row>
+        <row>
          <entry morerows="15"><literal>LWLockTranche</></entry>
          <entry><literal>clog</></entry>
          <entry>Waiting for I/O on a clog (transaction status) buffer.</entry>
#2Kevin Grittner
kgrittn@gmail.com
In reply to: Ashutosh Sharma (#1)
Re: OldSnapshotTimemapLock information is missing in monitoring.sgml file

On Wed, Aug 3, 2016 at 4:52 AM, Ashutosh Sharma <ashu.coek88@gmail.com> wrote:

monitoring.sgml file has the list of all the wait event names that is
being monitored by pg_stat_activity but as one of the LWLock named
'OldSnapshotTimemapLock' was added recently as the part of git commit
'848ef42b' -->"Add the "snapshot too old" feature", this lwlock
information is currently missing in the monitoring.sgml file. I have
added the necessary information about the same in this file and
attached is the patch. Thanks.

Pushed with minor fixes (white space and bumping the count for the tranche).

Thanks!

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Ashutosh Sharma
ashu.coek88@gmail.com
In reply to: Kevin Grittner (#2)
Re: OldSnapshotTimemapLock information is missing in monitoring.sgml file

Pushed with minor fixes (white space and bumping the count for the tranche).

Thanks. I just missed to increase the LWLock count by one.

With Regards,
Ashutosh Sharma
EnterpriseDB:http://www.enterprisedb.com

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers