-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
clientv3: Disconnected Linearized Reads #8341
Conversation
clientv3/integration/leasing_test.go
Outdated
"github.com/coreos/etcd/pkg/testutil" | ||
) | ||
|
||
func TestLeasingPutGet1(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/TestLeasingPutGet1/TestLeasingPutGet/
? Or does 1
mean something?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh no, it doesn't. Sorry, I forgot to edit the test names.
01384d7
to
7a9175e
Compare
@visheshnp can you fix the commit titles as well? |
e30025f
to
2ccbf65
Compare
Codecov Report
@@ Coverage Diff @@
## master #8341 +/- ##
=========================================
Coverage ? 77.16%
=========================================
Files ? 353
Lines ? 28019
Branches ? 0
=========================================
Hits ? 21621
Misses ? 4882
Partials ? 1516
Continue to review full report at Codecov.
|
@visheshnp lgtm once tests pass, but the commits that touch the |
clientv3/leasing/doc.go
Outdated
// limitations under the License. | ||
|
||
// Package leasing is a clientv3 wrapper that provides the client exclusive write access to a key by acquiring a lease and be lineraizably | ||
// served locally. This leasing layer can either directly wrap the etcd client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single space between either
and directly
?
clientv3/leasing/doc.go
Outdated
// //Output: 123 (served locally) | ||
// | ||
// Lease Revocation: | ||
// If a client writes to the key owned by the leasing client, then the leasing client gives up its lease allowing the client to modify the key. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
single space owned
between by
?
bae0d12
to
6391b8d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.