-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Indexes
-
None
-
3
-
Iteration Jupiter, Iteration Kuiper Belt, Iteration Light Year
-
Not Needed
-
Developer Tools
If useSupportsRollingIndexCreation() returns true, then we will show a new checkbox in the create index modal. See the Figma designs for details.
If the user checks the box to create a rolling index, then we will use the Atlas API (see below) to create the index rather than the driver. We will extend the thunk action createIndex(). It will create the index and check the result using the usual MMS pattern to see if there were any immediate validation errors. Similar to how dataService.createIndex() can fail quickly in some cases. Immediately afterwards, if there were no errors at that point, the modal can close. If there were validation errors they would show just like the errors do when you create a normal index via dataService.
Unlike for regular index creation, the createIndex() thunk action will not wait for the index to be created (or fail) and then remove the in-progress index. That will be synchronized when polling for indexes. See the polling explanation below.
- depends on
-
COMPASS-8215 Add AtlasRollingIndexService
- Closed