Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #3

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ build:
go build -o bin/lock test-examples/lock/main.go

coverage:
go tool cover -func coverage.cov | grep ^total
go tool cover -func coverage.out | grep ^total
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
[![zk](https://github.com/QuangTung97/zk/actions/workflows/go.yml/badge.svg)](https://github.com/QuangTung97/zk/actions/workflows/go.yml)
[![Coverage Status](https://coveralls.io/repos/github/QuangTung97/zk/badge.svg?branch=master)](https://coveralls.io/github/QuangTung97/zk?branch=master)

Forked from https://github.com/go-zookeeper/zk

But have replaced most of its interface to help achieve better guarantees:
* Watches, Response Function Calls and other Callbacks (Session Expired, Connection Retry, etc.)
are all happened in a single thread
* Strong watch guarantee: Watch Response Callback MUST happen BEFORE the Response of Create/Set/Delete
that affects the Watch
* When connection is disconnected, all pending operations MUST be finished or response with
errors before a new connection is going to be established

## Examples
Examples can be found here: https://github.com/QuangTung97/zk/tree/master/test-examples


## License

3-clause BSD. See LICENSE file.
2 changes: 1 addition & 1 deletion client_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1520,7 +1520,7 @@ func TestClientInternal_ACL(t *testing.T) {
var steps []string
var respErrors []error

pathVal := "/workers01"
pathVal := "/acl_mismatch"

c.Create(
pathVal, []byte("data01"), FlagEphemeral,
Expand Down
1 change: 0 additions & 1 deletion todolist
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
*) Add CI Pipeline for Integration Tests
*) Add Lint
*) Batching Read & Write to TCP (Need to do or not?)
*) Stress Tests with Race Detector
Expand Down
Loading