Skip to content

Commit 9be2d32

Browse files
authored
DOC-9047-C4 -- Remove replicator.resetCheckpoint() snippets (#525)
* DOC-9047-C4-Code -- Remove replicator.resetCheckpoint() snippets https://issues.couchbase.com/browse/DOC-9047 * DOC-9047-C4-Code -- Remove replicator.resetCheckpoint() snippets (tweaks) https://issues.couchbase.com/browse/DOC-9047
1 parent 33c7ac7 commit 9be2d32

File tree

12 files changed

+2760
-24
lines changed

12 files changed

+2760
-24
lines changed
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
{url-api-class-ListenerCertificateAuthenticator}
2+
{url-api-class-ListenerPasswordAuthenticator}
3+
{url-api-class-connection-status}
4+
{url-api-class-databasecfg}
5+
{url-api-class-database}
6+
{url-api-class-dictionary}
7+
{url-api-class-log-config}
8+
{url-api-class-log-console-getcons-setdmn}
9+
{url-api-class-log-console-getcons-setlvl}
10+
{url-api-class-log-console-getcons}
11+
{url-api-class-log-console}
12+
{url-api-class-log-custom-getcust}
13+
{url-api-class-log-custom-setcust}
14+
{url-api-class-log-custom}
15+
{url-api-class-log-file-getfile-setlvl}
16+
{url-api-class-log-file-getfile}
17+
{url-api-class-log-file}
18+
{url-api-class-logging}
19+
{url-api-class-log}
20+
{url-api-class-replicator-config-basic-auth}
21+
{url-api-class-replicator-config-cert-auth}
22+
{url-api-class-replicator-config}
23+
{url-api-class-replicator-status}
24+
{url-api-class-replicator}
25+
{url-api-class-tlsidentity}
26+
{url-api-class-urlendpointconfiguration}
27+
{url-api-class-urlendpointlistener}
28+
{url-api-classes-query-arrayfunction-collection-ops}
29+
{url-api-classes-query-arrayfunction}
30+
{url-api-classes-query-expression-comparators}
31+
{url-api-constructor-replicator-config-db-tgt}
32+
{url-api-constructor-replicator-init-config}
33+
{url-api-enum-log-domain}
34+
{url-api-enum-log-level}
35+
{url-api-enum-replicator-activity}
36+
{url-api-enum-replicator-error}
37+
{url-api-enum-replicator-progress}
38+
{url-api-iface-log-custom}
39+
{url-api-method-database-close}
40+
{url-api-method-database-compact}
41+
{url-api-method-database-copy}
42+
{url-api-method-database-deletedoc-concctrl}
43+
{url-api-method-database-deletedoc-doc}
44+
{url-api-method-database-delete}
45+
{url-api-method-database-getdocument}
46+
{url-api-method-database-performMaintenance}
47+
{url-api-method-database-save-concctrl}
48+
{url-api-method-database-save-conflict}
49+
{url-api-method-database-save-doc}
50+
{url-api-method-database-setloglevel}
51+
{url-api-method-databasecfg-setdir}
52+
{url-api-method-document-contains}
53+
{url-api-method-document-getdate}
54+
{url-api-method-document-getfloat}
55+
{url-api-method-document-getint}
56+
{url-api-method-document-tomutable}
57+
{url-api-method-expression-like}
58+
{url-api-method-function-lower}
59+
{url-api-method-function-lower}
60+
{url-api-method-mutabledocument-initid}
61+
{url-api-method-mutabledocument-init}
62+
{url-api-method-query-explain}
63+
{url-api-method-replicator-add-change-listener}
64+
{url-api-method-replicator-getPendingDocumentIds}
65+
{url-api-method-replicator-isDocumentPending}
66+
{url-api-method-replicator-rmv-change-listener}
67+
{url-api-method-replicator-start}
68+
{url-api-method-replicator-stop}
69+
{url-api-method-result-toJSON}
70+
{url-api-method-tls-identity-create}
71+
{url-api-method-tls-identity-get}
72+
{url-api-method-tls-identity-import}
73+
{url-api-prop-replicator-config-AcceptOnlySelfSignedServerCertificate}
74+
{url-api-prop-replicator-config-auth}
75+
{url-api-prop-replicator-config-autopurge}
76+
{url-api-prop-replicator-config-conflict}
77+
{url-api-prop-replicator-config-cont}
78+
{url-api-prop-replicator-config-rep-type}
79+
{url-api-prop-replicator-config-setHeartbeat}
80+
{url-api-prop-replicator-config-setMaxRetries}
81+
{url-api-prop-replicator-config-setMaxRetryWaitTime}
82+
{url-api-prop-replicator-config-setPinnedServerCertificate}
83+
{url-api-property-meta-revisionid}
84+
{url-api-property-replicator-status}
85+
{url-api-property-urlendpointlistener-status}
86+
{url-api-references-urlendpointconfiguration-auth}
87+
{url-api-references-urlendpointconfiguration-delta-sync}
88+
{url-api-references-urlendpointconfiguration-disable-tls}
89+
{url-api-references-urlendpointconfiguration-initdb}
90+
{url-api-references-urlendpointconfiguration-netwk-iface}
91+
{url-api-references-urlendpointconfiguration-port-get}
92+
{url-api-references-urlendpointconfiguration-tls-id}
93+
{url-api-references-urlendpointconfiguration-port}

modules/ROOT/pages/_partials/commons/common-sgw-replication.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ include::{root-partials}replication-checkpoint.adoc[]
220220
:param-tags: replication-reset-checkpoint
221221
include::{root-partials}_block_tabbed_code_example.adoc[]
222222
:param-tags!:
223-
223+
<.> Set start's reset option to `true`. +
224+
The default `false` is shown here for completeness only; it is unlikely you would explicitly use it in practice.
224225

225226
[#lbl-repl-mon]
226227
== Monitor

modules/ROOT/pages/_partials/replication-checkpoint.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Replicators use {glos-term-checkpoints} to keep track of documents sent to the t
33
Without {glos-term-checkpoints} , Couchbase Lite would replicate the entire database content to the target database on each connection, even though previous replications may already have replicated some or all of that content.
44

55
This functionality is generally not a concern to application developers.
6-
However, if you do want to force the replication to start again from zero, use the {glos-term-checkpoint} reset method `replicator.resetCheckpoint()` *before* starting the replicator.
6+
However, if you do want to force the replication to start again from zero, use the {glos-term-checkpoint} reset argument when starting the replicator.

0 commit comments

Comments
 (0)