Skip to content

Commit d48d138

Browse files
authored
Update README (#3)
1 parent f1281ec commit d48d138

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ build:
1010
go build -o bin/lock test-examples/lock/main.go
1111

1212
coverage:
13-
go tool cover -func coverage.cov | grep ^total
13+
go tool cover -func coverage.out | grep ^total

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
[![zk](https://github.com/QuangTung97/zk/actions/workflows/go.yml/badge.svg)](https://github.com/QuangTung97/zk/actions/workflows/go.yml)
44
[![Coverage Status](https://coveralls.io/repos/github/QuangTung97/zk/badge.svg?branch=master)](https://coveralls.io/github/QuangTung97/zk?branch=master)
55

6+
Forked from https://github.com/go-zookeeper/zk
7+
8+
But have replaced most of its interface to help achieve better guarantees:
9+
* Watches, Response Function Calls and other Callbacks (Session Expired, Connection Retry, etc.)
10+
are all happened in a single thread
11+
* Strong watch guarantee: Watch Response Callback MUST happen BEFORE the Response of Create/Set/Delete
12+
that affects the Watch
13+
* When connection is disconnected, all pending operations MUST be finished or response with
14+
errors before a new connection is going to be established
15+
16+
## Examples
17+
Examples can be found here: https://github.com/QuangTung97/zk/tree/master/test-examples
18+
19+
620
## License
721

822
3-clause BSD. See LICENSE file.

client_integration_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,7 @@ func TestClientInternal_ACL(t *testing.T) {
15201520
var steps []string
15211521
var respErrors []error
15221522

1523-
pathVal := "/workers01"
1523+
pathVal := "/acl_mismatch"
15241524

15251525
c.Create(
15261526
pathVal, []byte("data01"), FlagEphemeral,

todolist

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
*) Add CI Pipeline for Integration Tests
21
*) Add Lint
32
*) Batching Read & Write to TCP (Need to do or not?)
43
*) Stress Tests with Race Detector

0 commit comments

Comments
 (0)