Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-49665

[UI] Replication pause seems to be taking too long

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.1.0
    • 7.1.0
    • UI
    • 7.1.0-1733
    • Untriaged
    • MacOSX 64-bit
    • 1
    • Unknown
    • UI - 2021 - Nov, UI 2021-Dec

    Description

      Setup replication from travel-sample on source to empty bucket on target. Pause the replication after a minute or so. It takes ~10 seconds for the replication to change to "Paused" state in the UI which seems like a bit long.

      Rest API returns in <1 sec:

      time curl -X POST -u Administrator:password http://172.23.106.121:8091/settings/replications/4b733425cb5dad88414e0041acb339b6%2Ftravel-sample%2Ftest -d pauseRequested=true 
      {"checkpointInterval":600,"colMappingRules":{},"collectionsExplicitMapping":false,"collectionsMigrationMode":false,"collectionsMirroringMode":false,"collectionsOSOMode":true,"compressionType":"Auto","desiredLatency":50,"docBatchSizeKb":2048,"failureRestartInterval":10,"filterBypassExpiry":false,"filterBypassUncommittedTxn":false,"filterDeletion":false,"filterExpiration":false,"filterExpression":"","hlvPruningWindowSec":259200,"jsFunctionTimeoutMs":20000,"logLevel":"Info","mergeFunctionMapping":{},"networkUsageLimit":0,"optimisticReplicationThreshold":256,"pauseRequested":true,"preReplicateVBMasterCheck":true,"priority":"High","replicateCkptIntervalMin":60,"retryOnRemoteAuthErr":true,"retryOnRemoteAuthErrMaxWaitSec":3600,"sourceNozzlePerNode":2,"statsInterval":1000,"targetNozzlePerNode":2,"type":"xmem","workerBatchSize":500}
       
      real	0m0.132s
      user	0m0.006s
      sys	0m0.008s
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            pavel Pavel Blagodov
            pavithra.mahamani Pavithra Mahamani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty