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

xdcr related services sometimes log debug and error messages to non-xdcr logs (was: XDCR Error Logging Improvement)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.0.2
    • 2.5.1, 3.0
    • XDCR
    • Security Level: Public

    Description

      When debugging an XDCR issue some very useful information was in the ns_server.error.log but not the ns_server.xdcr_errors.log

      ns_server.xdcr_errors.log:

      [xdcr:error,2014-09-18T7:02:12.674,ns_1@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:<0.8020.1657>:xdc_vbucket_rep:init_replication_state:496]Error in fetching remot bucket, error: timeout,sleep for 30 secs before retry.
      [xdcr:error,2014-09-18T7:02:12.674,ns_1@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:<0.8021.1657>:xdc_vbucket_rep:init_replication_state:503]Error in fetching remot bucket, error: all_nodes_failed, msg: <<"Failed to grab remote bucket `wi_backup_bucket_` from any of known nodes">>sleep for 30 secs before retry

      ns_server.error.log:

      [ns_server:error,2014-09-18T7:02:12.674,ns_1@ec2-XX-XX-XX-XX.compute-1.amazonaws.com:<0.8022.1657>:remote_clusters_info: do_mk_json_get:1460]Request to http://Administrator:****@10.x.x.x:8091/pools failed:
      {error,rest_error,
      <<"Error connect_timeout happened during REST call get to http://10.x.x.x:8091/pools.">>,
      {error,connect_timeout}}
      [ns_server:error,2014-09-18T7:02:12.674,ns_1@ec2-xx-xx-xx-xx.compute-1.amazonaws.com:remote_clusters_info<0.20250.6>: remote_clusters_info:handle_info:435]Failed to grab remote bucket `wi_backup_bucket_`: {error,rest_error,
      <<"Error connect_timeout happened during REST call get to http://10.x.x.x:8091/pools.">>,
      {error,connect_timeout}}

      Is there any way these messages could appear in with the xdcr_errors.log ?

      Attachments

        For Gerrit Dashboard: MB-12210
        # Subject Branch Project Status CR V

        Activity

          People

            alkondratenko Aleksey Kondratenko (Inactive)
            malarky Chris Malarky
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty