You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2019/11/08 15:47:05 UTC

[couchdb-documentation] branch update-scheduler-info-field created (now c492a98)

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

vatamane pushed a change to branch update-scheduler-info-field
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.


      at c492a98  Update _scheduler/docs and _scheduler/jobs's "info" field

This branch includes the following new commits:

     new c492a98  Update _scheduler/docs and _scheduler/jobs's "info" field

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.



[couchdb-documentation] 01/01: Update _scheduler/docs and _scheduler/jobs's "info" field

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

vatamane pushed a commit to branch update-scheduler-info-field
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit c492a980291bc38a415bf2d67b0a2781a01a42d4
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Fri Nov 8 10:23:13 2019 -0500

    Update _scheduler/docs and _scheduler/jobs's "info" field
    
    Recently "info" field for running and pending states switched to having
    replication stats instead of being `null`, so update documentation accordingly.
    
    Related PR: https://github.com/apache/couchdb/pull/2292
---
 src/api/server/common.rst      | 70 +++++++++++++++++++++++++++++++++++++++---
 src/replication/replicator.rst | 23 +++++++++++++-
 2 files changed, 88 insertions(+), 5 deletions(-)

diff --git a/src/api/server/common.rst b/src/api/server/common.rst
index cdd55d8..7fee364 100644
--- a/src/api/server/common.rst
+++ b/src/api/server/common.rst
@@ -979,6 +979,17 @@ error.
                         }
                     ],
                     "id": "8f5b1bd0be6f9166ccfd36fc8be8fc22+continuous",
+                    "info": {
+                        "changes_pending": 0,
+                        "checkpointed_source_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ",
+                        "doc_write_failures": 0,
+                        "docs_read": 113,
+                        "docs_written": 113,
+                        "missing_revisions_found": 113,
+                        "revisions_checked": 113,
+                        "source_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ",
+                        "through_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ"
+                    },
                     "node": "node1@127.0.0.1",
                     "pid": "<0.1850.0>",
                     "source": "http://myserver.com/foo",
@@ -1000,6 +1011,17 @@ error.
                         }
                     ],
                     "id": "e327d79214831ca4c11550b4a453c9ba+continuous",
+                    "info": {
+                        "changes_pending": null,
+                        "checkpointed_source_seq": 0,
+                        "doc_write_failures": 0,
+                        "docs_read": 12,
+                        "docs_written": 12,
+                        "missing_revisions_found": 12,
+                        "revisions_checked": 12,
+                        "source_seq": "12-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE1lzgQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSexgk4yMkhITjS0wdWUBADfEJBg",
+                        "through_seq": "12-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE1lzgQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSexgk4yMkhITjS0wdWUBADfEJBg"
+                    },
                     "node": "node2@127.0.0.1",
                     "pid": "<0.1757.0>",
                     "source": "http://myserver.com/foo",
@@ -1106,7 +1128,17 @@ error.
                     "doc_id": "cdyno-0000001-0000002",
                     "error_count": 0,
                     "id": "e327d79214831ca4c11550b4a453c9ba+continuous",
-                    "info": null,
+                    "info": {
+                        "changes_pending": 15,
+                        "checkpointed_source_seq": "60-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYEyVygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSSpgk4yMkhITjS0wdWUBAENCJEg",
+                        "doc_write_failures": 0,
+                        "docs_read": 67,
+                        "docs_written": 67,
+                        "missing_revisions_found": 67,
+                        "revisions_checked": 67,
+                        "source_seq": "67-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE2VygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSepgk4yMkhITjS0wdWUBAEVKJE8",
+                        "through_seq": "67-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE2VygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSepgk4yMkhITjS0wdWUBAEVKJE8"
+                    },
                     "last_updated": "2017-04-29T05:01:37Z",
                     "node": "node2@127.0.0.1",
                     "source_proxy": null,
@@ -1121,7 +1153,17 @@ error.
                     "doc_id": "cdyno-0000001-0000003",
                     "error_count": 0,
                     "id": "8f5b1bd0be6f9166ccfd36fc8be8fc22+continuous",
-                    "info": null,
+                    "info": {
+                        "changes_pending": null,
+                        "checkpointed_source_seq": 0,
+                        "doc_write_failures": 0,
+                        "docs_read": 12,
+                        "docs_written": 12,
+                        "missing_revisions_found": 12,
+                        "revisions_checked": 12,
+                        "source_seq": "12-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE1lzgQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSexgk4yMkhITjS0wdWUBADfEJBg",
+                        "through_seq": "12-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE1lzgQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSexgk4yMkhITjS0wdWUBADfEJBg"
+                    },
                     "last_updated": "2017-04-29T05:01:37Z",
                     "node": "node1@127.0.0.1",
                     "source_proxy": null,
@@ -1222,7 +1264,17 @@ error.
                     "doc_id": "cdyno-0000001-0000002",
                     "error_count": 0,
                     "id": "e327d79214831ca4c11550b4a453c9ba+continuous",
-                    "info": null,
+                    "info": {
+                        "changes_pending": 0,
+                        "checkpointed_source_seq": "60-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYEyVygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSSpgk4yMkhITjS0wdWUBAENCJEg",
+                        "doc_write_failures": 0,
+                        "docs_read": 67,
+                        "docs_written": 67,
+                        "missing_revisions_found": 67,
+                        "revisions_checked": 67,
+                        "source_seq": "67-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE2VygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSepgk4yMkhITjS0wdWUBAEVKJE8",
+                        "through_seq": "67-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE2VygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSepgk4yMkhITjS0wdWUBAEVKJE8"
+                    },
                     "last_updated": "2017-04-29T05:01:37Z",
                     "node": "node2@127.0.0.1",
                     "source_proxy": null,
@@ -1311,7 +1363,17 @@ error.
             "doc_id": "cdyno-0000001-0000002",
             "error_count": 0,
             "id": "e327d79214831ca4c11550b4a453c9ba+continuous",
-            "info": null,
+            "info": {
+                "changes_pending": 0,
+                "checkpointed_source_seq": "60-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYEyVygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSSpgk4yMkhITjS0wdWUBAENCJEg",
+                "doc_write_failures": 0,
+                "docs_read": 67,
+                "docs_written": 67,
+                "missing_revisions_found": 67,
+                "revisions_checked": 67,
+                "source_seq": "67-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE2VygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSepgk4yMkhITjS0wdWUBAEVKJE8",
+                "through_seq": "67-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE2VygQLsBsZm5pZJJpjKcRqRxwIkGRqA1H-oSepgk4yMkhITjS0wdWUBAEVKJE8"
+            },
             "last_updated": "2017-04-29T05:01:37Z",
             "node": "node2@127.0.0.1",
             "source_proxy": null,
diff --git a/src/replication/replicator.rst b/src/replication/replicator.rst
index a977010..bec1a16 100644
--- a/src/replication/replicator.rst
+++ b/src/replication/replicator.rst
@@ -77,7 +77,17 @@ Replication state of this document can then be queried from
          "doc_id": "my_rep",
          "error_count": 0,
          "id": "a81a78e822837e66df423d54279c15fe+continuous+create_target",
-         "info": null,
+         "info": {
+           "revisions_checked": 113,
+           "missing_revisions_found": 113,
+           "docs_read": 113,
+           "docs_written": 113,
+           "changes_pending": 0,
+           "doc_write_failures": 0,
+           "checkpointed_source_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ",
+           "source_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ",
+           "through_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ"
+         },
          "last_updated": "2017-04-05T19:18:15Z",
          "node": "node1@127.0.0.1",
          "source_proxy": null,
@@ -115,6 +125,17 @@ The replication job will also appear in
                       }
                   ],
                   "id": "a81a78e822837e66df423d54279c15fe+continuous+create_target",
+                  "info": {
+                     "changes_pending": 0,
+                     "checkpointed_source_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ",
+                     "doc_write_failures": 0,
+                     "docs_read": 113,
+                     "docs_written": 113,
+                     "missing_revisions_found": 113,
+                     "revisions_checked": 113,
+                     "source_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ",
+                     "through_seq": "113-g1AAAACTeJzLYWBgYMpgTmHgz8tPSTV0MDQy1zMAQsMckEQiQ1L9____szKYE01ygQLsZsYGqcamiZjKcRqRxwIkGRqA1H-oSbZgk1KMLCzTDE0wdWUBAF6HJIQ"
+                  },
                   "node": "node1@127.0.0.1",
                   "pid": "<0.1174.0>",
                   "source": "http://myserver.com/foo/",