You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
XDCR UI supports network type for connecting to the target cluster.
125
-
The options are Auto, Force using alternate address, and Force using internal address.
126
-
For more information, see xref:manage:manage-xdcr/create-xdcr-reference.adoc#create-an-xdcr-reference-with-the-ui[Create an XDCR Reference with the UI].
Copy file name to clipboardExpand all lines: modules/rest-api/pages/rest-xdcr-adv-settings.adoc
+95-2Lines changed: 95 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,32 +94,57 @@ If successful, the call returns an object similar to the following:
94
94
95
95
----
96
96
{
97
+
"cLogConnPoolGCIntervalMs": 60000,
98
+
"cLogConnPoolLimit": 30,
99
+
"cLogConnPoolReapIntervalMs": 120000,
100
+
"cLogErrorTimeWindowMs": 120000,
101
+
"cLogMaxErrorCount": 10,
102
+
"cLogNetworkRetryCount": 5,
103
+
"cLogNetworkRetryIntervalMs": 2000,
104
+
"cLogPoolGetTimeoutMs": 5000,
105
+
"cLogQueueCapacity": 6000,
106
+
"cLogReattemptDurationMs": 600000,
107
+
"cLogSetTimeoutMs": 5000,
108
+
"cLogWorkerCount": 20,
109
+
"casDriftThresholdSecs": 3900,
97
110
"checkpointInterval": 600,
98
111
"ckptSvcCacheEnabled": true,
112
+
"collectionsOSOMode": true,
99
113
"compressionType": "Auto",
114
+
"conflictLogging": {},
115
+
"dcpEnablePurgeRollback": false,
100
116
"desiredLatency": 50,
117
+
"disableHlvBasedShortCircuit": false,
101
118
"docBatchSizeKb": 2048,
102
119
"failureRestartInterval": 10,
120
+
"filterBinary": false,
103
121
"filterBypassExpiry": false,
104
122
"filterBypassUncommittedTxn": false,
105
123
"filterDeletion": false,
106
124
"filterExpiration": false,
125
+
"genericServicesLogLevel": {
126
+
< ... diagnostic items cut out due to length ... >
127
+
},
107
128
"goGC": 100,
108
129
"goMaxProcs": 4,
109
-
"hlvPruningWindowSec": 259200,
110
130
"jsFunctionTimeoutMs": 20000,
111
131
"logLevel": "Info",
112
132
"mergeFunctionMapping": {},
133
+
"mobile": "Off",
113
134
"networkUsageLimit": 0,
114
135
"optimisticReplicationThreshold": 256,
136
+
"preCheckCasDriftThresholdHours": 8760,
115
137
"preReplicateVBMasterCheck": true,
116
138
"priority": "High",
117
139
"replicateCkptIntervalMin": 20,
140
+
"retryOnErrExceptAuthErrMaxWaitSec": 360,
118
141
"retryOnRemoteAuthErr": true,
119
-
"retryOnRemoteAuthErrMaxWaitSec": 3600,
142
+
"retryOnRemoteAuthErrMaxWaitSec": 360,
143
+
"skipReplSpecAutoGc": false,
120
144
"sourceNozzlePerNode": 2,
121
145
"statsInterval": 1000,
122
146
"targetNozzlePerNode": 2,
147
+
"targetTopologyLogFrequency": 1800,
123
148
"workerBatchSize": 500
124
149
}
125
150
----
@@ -295,6 +320,60 @@ If successful, the call returns an object containing all current settings for th
295
320
}
296
321
----
297
322
323
+
===== Change Settings for XDCR Generic Services Log Levels
324
+
325
+
The following example modifies the log levels for XDCR Generic Services, for a specific replication.
326
+
Usually, you modify the log levels only when requested by Couchbase Support.
327
+
328
+
----
329
+
curl -X POST -u Administrator:password http://localhost:8091/settings/replications -d 'genericServicesLogLevel={"RemoteClusterService":"Debug","ReplicationSpecService":"Error","BucketTopologyService":"Debug","CheckpointService":"Error"}'
330
+
----
331
+
332
+
If successful, the call returns an object containing all current Generic Services related log level settings for the replication, including what's changed:
333
+
334
+
----
335
+
{
336
+
...
337
+
"genericServicesLogLevel": {
338
+
"AdminPort": "Info",
339
+
"AuditService": "Info",
340
+
"BackfillManager": "Info",
341
+
"BackfillReplicationService": "Info",
342
+
"BucketTopologyService": "Debug",
343
+
"CapiService": "Info",
344
+
"CheckpointService": "Error",
345
+
"CollectionsManifestService": "Info",
346
+
"Default": "Info",
347
+
"GenericSupervisor": "Info",
348
+
"GlobalSettingsService": "Info",
349
+
"HttpServer": "Info",
350
+
"InternalSettingsService": "Info",
351
+
"ManifestService": "Info",
352
+
"MessageUtils": "Info",
353
+
"MetaKVMetadataService": "Info",
354
+
"MigrationService": "Info",
355
+
"P2PManagerService": "Info",
356
+
"PipelineManager": "Info",
357
+
"RemoteClusterService": "Debug",
358
+
"ReplicationSettingService": "Info",
359
+
"ReplicationSpecService": "Error",
360
+
"ResourceManager": "Info",
361
+
"SecurityService": "Info",
362
+
"ThroughputThrottlerService": "Info",
363
+
"TopologyService": "Info",
364
+
"UtilsService": "Info",
365
+
"XDCRFactory": "Info"
366
+
},
367
+
...
368
+
}
369
+
----
370
+
371
+
To view the current log levels for XDCR Generic Services anytime, use the following command:
372
+
373
+
----
374
+
curl -s -X GET -u Administrator:password http://localhost:8091/settings/replications | jq
375
+
----
376
+
298
377
[#xdcr-advanced-settings-rest]
299
378
== List of Advanced Settings
300
379
@@ -409,6 +488,20 @@ For supported expressions, see xref:xdcr-reference:xdcr-filtering-reference-intr
409
488
410
489
This setting can only be established for and retrieved from an individual replication: it cannot be established or retrieved as part of global settings.
411
490
491
+
| `genericServicesLogLevel`
492
+
| JSON Object
493
+
| This is the Generic Services related log level settings for the replication.
494
+
495
+
The keys represent service names and the associated values represent log levels.
496
+
497
+
In the example, the log level for `RemoteClusterService` is set to `Debug`, and for `ReplicationSpecService`, it's set to `Error`.
498
+
499
+
By default, non-pipeline specific services use the `Info` log level.
500
+
You can also set the log level to `Error`, `Debug`, or `Trace`.
501
+
502
+
The `Default` key sets the log level for shared utilities like connection pools and data pools, which are used by multiple services.
503
+
All these utilities use the same default logger, so changing the log level in `Default` affects all logger dependent utilities.
0 commit comments