Skip to content

Commit

Permalink
add sync order
Browse files Browse the repository at this point in the history
  • Loading branch information
po3rin committed Nov 14, 2020
1 parent 569a9c4 commit c0e699b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ eskeeper synchronizes index and alias with configuration files while ensuring id
### mode

- [x] CLI mode
- [x] Index status(close only)
- [x] Index status(open/close only)
- [ ] Agent mode

### sync
@@ -101,6 +101,21 @@ eskeeper process is divided into four stages.
#### sync stage
* Sync indices and aliases with config

The order of synchronization is as follows.

```
create index
open index
update alias
close index
```

Index close operation should be done after switching the alias.
Because there can be downtime before switching aliases.

#### post-check stage
* Check if indices & aliases has been created

0 comments on commit c0e699b

Please sign in to comment.