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

Add retries or check for any possible mismatch between cache and persisted metadata

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • Unknown

    Description

      For a CreateIndex that fails at the Index state update, there is possibility of a mismatch of information present between topoCache/defnCache and the persisted Metadata.

      Adding checks and logs during the cloning of the IndexTopology { func (c *MetadataRepo) CloneTopologyByCollection() } to check any possible mismatch between the cache and persisted metadata can help in knowing where the error originated from.

      Furthermore, additional logs can be added to func (m *LifecycleMgr) updateIndexState() to give reasons why an expected state change couldnt proceed.

      Attachments

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

        Activity

          People

            shivansh.rustagi Shivansh Rustagi
            shivansh.rustagi Shivansh Rustagi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              PagerDuty