Uploaded image for project: 'C++ Couchbase Client'
  1. C++ Couchbase Client
  2. CXXCBC-199

kv_collection_outdated retry reason not always set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • 1.0.0-beta.2
    • None
    • None
    • 1

    Description

      If the overall request timeout occurs in between a handle unknown collection backoff the retry reason is not set. The retry reason should always be set if we hit handle_unknown_collection()

      [2022-06-29 10:08:38.045] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP send, opaque=7,  80 b5 00 00 00 00 00 00 00 00 00 00 07 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:38.045] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP send, opaque=6,  80 bb 00 00 00 00 00 00 00 00 00 1b 06 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:38.117] [117027,117170] [trace] 71ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP recv, opaque=7,  18 b5 03 00 00 01 00 00 00 00 20 e7 07 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:38.135] [117027,117170] [trace] 18ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> received a configuration with identical revision (rev=1:643), ignoring
      [2022-06-29 10:08:38.135] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP recv, opaque=6,  18 bb 03 00 00 01 00 88 00 00 00 57 06 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:38.135] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP invoke operation handler: opcode=get_collection_uid (0xbb), opaque=6, status=136 (unknown_collection (0x88)), ec=collection_not_found
      [2022-06-29 10:08:38.135] [117027,117170] [debug] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> unknown collection response for "default/_default.missing_collection/key", time_left=2219ms, id="7d74e52d-3f2b-4ad0-0258-f332fad65f92"
      [2022-06-29 10:08:38.636] [117027,117170] [trace] 500ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP send, opaque=8,  80 bb 00 00 00 00 00 00 00 00 00 1b 08 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:38.707] [117027,117170] [trace] 71ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP recv, opaque=8,  18 bb 03 00 00 01 00 88 00 00 00 57 08 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:38.707] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP invoke operation handler: opcode=get_collection_uid (0xbb), opaque=8, status=136 (unknown_collection (0x88)), ec=collection_not_found
      [2022-06-29 10:08:38.707] [117027,117170] [debug] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> unknown collection response for "default/_default.missing_collection/key", time_left=1647ms, id="7d74e52d-3f2b-4ad0-0258-f332fad65f92"
      [2022-06-29 10:08:39.207] [117027,117170] [trace] 500ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP send, opaque=9,  80 bb 00 00 00 00 00 00 00 00 00 1b 09 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:39.278] [117027,117170] [trace] 71ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP recv, opaque=9,  18 bb 03 00 00 01 00 88 00 00 00 57 09 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:39.278] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP invoke operation handler: opcode=get_collection_uid (0xbb), opaque=9, status=136 (unknown_collection (0x88)), ec=collection_not_found
      [2022-06-29 10:08:39.278] [117027,117170] [debug] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> unknown collection response for "default/_default.missing_collection/key", time_left=1076ms, id="7d74e52d-3f2b-4ad0-0258-f332fad65f92"
      [2022-06-29 10:08:39.605] [117027,117170] [trace] 327ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/9bb66113-e1ac-47a6-2248-961e935a6308/tls/-] <ec2-18-225-9-245.us-east-2.compute.amazonaws.com/18.225.9.245:11207> MCBP send, opaque=5,  80 b5 00 00 00 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:39.673] [117027,117170] [trace] 67ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/9bb66113-e1ac-47a6-2248-961e935a6308/tls/-] <ec2-18-225-9-245.us-east-2.compute.amazonaws.com/18.225.9.245:11207> MCBP recv, opaque=5,  18 b5 03 00 00 01 00 00 00 00 03 a1 05 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:39.674] [117027,117170] [trace] 1ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/9bb66113-e1ac-47a6-2248-961e935a6308/tls/-] <ec2-18-225-9-245.us-east-2.compute.amazonaws.com/18.225.9.245:11207> received a configuration with identical revision (rev=1:116), ignoring
      [2022-06-29 10:08:39.778] [117027,117170] [trace] 104ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP send, opaque=10,  80 bb 00 00 00 00 00 00 00 00 00 1b 0a 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:39.849] [117027,117170] [trace] 71ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP recv, opaque=10,  18 bb 03 00 00 01 00 88 00 00 00 57 0a 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:39.849] [117027,117170] [trace] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP invoke operation handler: opcode=get_collection_uid (0xbb), opaque=10, status=136 (unknown_collection (0x88)), ec=collection_not_found
      [2022-06-29 10:08:39.849] [117027,117170] [debug] 0ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> unknown collection response for "default/_default.missing_collection/key", time_left=505ms, id="7d74e52d-3f2b-4ad0-0258-f332fad65f92"
      [2022-06-29 10:08:40.067] [117027,117170] [trace] 217ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/16566412-51be-4d19-609d-527bd9c9d992/tls/default] <ec2-18-225-9-245.us-east-2.compute.amazonaws.com/18.225.9.245:11207> MCBP send, opaque=6,  80 b5 00 00 00 00 00 00 00 00 00 00 06 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:40.139] [117027,117170] [trace] 72ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/16566412-51be-4d19-609d-527bd9c9d992/tls/default] <ec2-18-225-9-245.us-east-2.compute.amazonaws.com/18.225.9.245:11207> MCBP recv, opaque=6,  18 b5 03 00 00 01 00 00 00 00 20 e7 06 00 00 00 00 00 00 00 00 00 00 00
      [2022-06-29 10:08:40.158] [117027,117170] [trace] 18ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/16566412-51be-4d19-609d-527bd9c9d992/tls/default] <ec2-18-225-9-245.us-east-2.compute.amazonaws.com/18.225.9.245:11207> received a configuration with identical revision (rev=1:643), ignoring
      [2022-06-29 10:08:40.350] [117027,117170] [trace] 191ms, [61cb3a3d-994e-45e4-d639-0ff3957a9b0d/a519330f-a824-4ed5-e972-4381fb25e5ca/tls/default] <ec2-3-21-103-84.us-east-2.compute.amazonaws.com/3.21.103.84:11207> MCBP send, opaque=11,  80 bb 00 00 00 00 00 00 00 00 00 1b 0b 00 00 00 00 00 00 00 00 00 00 00
      -------------------------------------------------------------------------------
      integration: missing scope and collection
        insert missing collection
      -------------------------------------------------------------------------------
      /home/couchbase/jenkins/workspace/c-cpp/cxx/cxx-scripted-build-pipeline/ws_centos7/couchbase-cxx-client/test/test_integration_collections.cxx:60
      ...............................................................................
       
      /home/couchbase/jenkins/workspace/c-cpp/cxx/cxx-scripted-build-pipeline/ws_centos7/couchbase-cxx-client/test/test_integration_collections.cxx:70: FAILED:
        REQUIRE( resp.ctx.retry_reasons.count(couchbase::io::retry_reason::kv_collection_outdated) == 1 )
      with expansion:
        0 == 1
      

       

      Attachments

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

        Activity

          People

            jake.rawsthorne Jake Rawsthorne
            jake.rawsthorne Jake Rawsthorne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes