DDLServiceMgr triggers the build of a partitioned index with replica created in non-defer mode. In order to do this, it needs MetadataProvider.
When DDLServiceMgr tries to instantiate a new MetadataProvider, it waits for 500ms.
In case of large number of indexes, 500ms may not be enough, as there are other consumers such as getLocalIndexMetadata (used to respond to /getIndexStatus) which take lock while iterating over the repo.
This can delay the index build.
|For Gerrit Dashboard: MB-41938|
|142402,2||MB-41938 allow more time for MetadataProvider init||unstable||indexing||Status: MERGED||+2||+1|
|146639,1||MB-44409 [BP 6.6.2] allow more time for MetadataProvider init||mad-hatter||indexing||Status: MERGED||+2||+1|