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

[Upgrade] travel-sample documents not loading after upgrading from 6.6.1 to 7.0.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.0.0
    • Cheshire-Cat
    • query
    • Untriaged
    • 1
    • Unknown

    Description

      Steps:

      1. Install 6.6.1 on a 2 node cluster (lets call these nodes node1 and node2) - initialize with all services (kv, query, gsi, fts, eventing and analytics)
      2. Install travel-sample bucket
      3. Install 7.0.0-4506 on node3
      4. Swap rebalance this node into the 6.6.1 cluster - add node3 to the cluster and remove node2 - rebalance
      5. Now uninstall 6.6.1 from node2 and install 7.0.0-4506 in it
      6. Swap rebalance node2 into the cluster - add node2 to the cluster and remove node1 - rebalance
      7. Go to Documents page in node3 - error:

      Query: select meta().id from `travel-sample`.`_default`.`_default` data order by meta().id limit 10 offset 0
      Code: 12021
      Message: "Scope not found in CB datastore default:travel-sample._default"
      

      8. Documents load without any issues in node2

      If we navigate to scopes & collections page, we can see that it says there are no items in _default collection - attaching screenshots and logs

      From node3 query.log:

      _time=2021-02-20T02:00:30.272+00:00 _level=INFO _msg=Starting audit update stream 
      2021/02/20 02:01:59 cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/nodeDefs-wanted/cd3a7fc7f5381a486854e0887dfb1180, key: nodeDefs-wanted/cd3a7fc7f5381a486854e0887dfb1180, deletion: false
      2021/02/20 02:01:59 cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/nodeDefs-wanted/9a55bf5d19c85b66a4bc0ada9dfa84c3, key: nodeDefs-wanted/9a55bf5d19c85b66a4bc0ada9dfa84c3, deletion: true
      2021/02/20 02:01:59 cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/nodeDefs-known/cd3a7fc7f5381a486854e0887dfb1180, key: nodeDefs-known/cd3a7fc7f5381a486854e0887dfb1180, deletion: false
      2021/02/20 02:02:00 cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/nodeDefs-known/9a55bf5d19c85b66a4bc0ada9dfa84c3, key: nodeDefs-known/9a55bf5d19c85b66a4bc0ada9dfa84c3, deletion: true
      _time=2021-02-20T02:02:52.126+00:00 _level=INFO _msg=Unable to retrieve collections info for bucket travel-sample: Unable to retrieve collections manifest: MCResponse status=0x89, opcode=GET_COLLECTIONS_MANIFEST, opaque=2, msg: . No collections access to bucket travel-sample. 
      _time=2021-02-20T02:02:52.126+00:00 _level=INFO _msg=Created New Bucket travel-sample 
      2021-02-20T02:02:52.126+00:00 [INFO]  Trying with http://127.0.0.1:8091/pools/default/bucketsStreaming/travel-sample 
      2021/02/20 02:09:37 cfg_metakv: metaKVCallback, path: /fts/cbgt/cfg/nodeDefs-known/85010fb7ac0fe
      

      Attachments

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

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            arunkumar Arunkumar Senthilnathan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty