Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
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
Gerrit Reviews
For Gerrit Dashboard: MB-60903 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
206326,14 | MB-60903: Cleanup metadata mismatch during CreateIndex() | unstable | indexing | Status: NEW | 0 | 0 |
206380,9 | MB-60903 Additional logs and checks for metadata mismatch | unstable | indexing | Status: NEW | +2 | 0 |
208807,1 | MB-60903: Cleanup metadata mismatch during CreateIndexInstance() | unstable | indexing | Status: NEW | 0 | 0 |