Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.
/ party Public archive

Commit b22ad47

Browse files
committed
add section on seamless failover / snapshotting / windows support
1 parent 87f6604 commit b22ad47

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

readme.markdown

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,22 @@ a= 35345
7979

8080
Hooray!
8181

82+
# seamless failover
83+
84+
level-party does seamless failover. This means that if you create a read-stream
85+
and the leader goes down while you are reading that stream level-party will resume your stream
86+
on the new leader.
87+
88+
**This disables leveldb snapshotting** so if your app relies on this you should disable this by setting `opts.retry = false`
89+
90+
``` js
91+
var db = level('./data', {retry: false}) // will not retry streams / gets / puts if the leader goes down
92+
```
93+
94+
# windows support
95+
96+
level-party works on windows as well using named pipes.
97+
8298
# methods
8399

84100
``` js

0 commit comments

Comments
 (0)