Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
4.1.1, 4.1.2
-
Untriaged
-
Centos 64-bit
-
Unknown
Description
To avoid issues with automation I manually installed and configured two servers. I used build 4.5.0-2601 (Waston GA).
Then I created buckets and enabled XDC replication from one node to another.
I made only one change to the default XDCR settings, namely optimistic replication threshold was set to 0.
curl -s "http://Administrator:password@172.23.96.100:8091/settings/replications/def1b4c45b751221541837cb7f5e0e94%2Fbucket-1%2Fbucket-1" | python -mjson.tool
|
{
|
"checkpointInterval": 1800,
|
"docBatchSizeKb": 2048,
|
"failureRestartInterval": 10,
|
"filterExpression": "",
|
"logLevel": "Info",
|
"optimisticReplicationThreshold": 0,
|
"pauseRequested": false,
|
"sourceNozzlePerNode": 2,
|
"statsInterval": 1000,
|
"targetNozzlePerNode": 2,
|
"type": "xmem",
|
"workerBatchSize": 500
|
}
|
ReplicationManager 2016-07-27T17:00:15.493-07:00 [INFO] Creating replication spec - justValidate=false, sourceBucket=bucket-1, targetCluster=myCluster, targetBucket=bucket-1, settings=map[doc_batch_size_kb:2048 checkpoint_interval:1800 log_level:Info optimistic_replication_threshold:0 worker_batch_size:500 replication_type:xmem source_nozzle_per_node:2 stats_interval:1000 target_nozzle_per_node:2 failure_restart_interval:10]
|
settings = map[active:true checkpoint_interval:1800 doc_batch_size_kb:2048 failure_restart_interval:10 source_nozzle_per_node:2 target_nozzle_per_node:2 replication_type:xmem worker_batch_size:500 optimistic_replication_threshold:0 log_level:Info stats_interval:1000 filter_expression:]
|
Once replication was enabled, I started adding documents to the source node. Surprisingly, I didn't see any getMeta requests.
cbstats confirms my observations:
# /opt/couchbase/bin/cbstats -b bucket-1 -p password 127.0.0.1:11210 all | grep 'get_meta\|set_meta'
|
ep_num_ops_get_meta: 0
|
ep_num_ops_get_meta_on_set_meta: 0
|
ep_num_ops_set_meta: 83887038
|
ep_num_ops_set_meta_res_fail: 29961
|
I don't think it's expected.
Attachments
Issue Links
- depends on
-
MB-20528 ep_num_ops_get_meta may not count requests which are non-resident
- Closed