Open
Description
Purpose of the feature.
Currently, there is no non-internal API for waiting for the index creation; the usage documentdb_api.create_indexes_background
's result is undocumented. FerretDB has to use an internal documentdb_api_internal.create_indexes_non_concurrently
API.
Describe the solution you'd like
There is a non-internal documented API for that.
Alternatively, there is a non-internal documented API for creating indexes in the foreground.
Describe alternatives you've considered
Continue using the internal API.
Use documentdb_api_internal.check_build_index_status
, which is also internal and not documented.
Additional context
None.