80d15948bc
*: move "mvcc" to "internal/mvcc"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com >
2018-01-26 11:14:41 -08:00
f65aee0759
*: replace 'golang.org/x/net/context' with 'context'
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com >
2017-09-07 13:39:42 -07:00
276039e835
integration: add TestMutexWaitsOnCurrentHolder test
...
TestMutexWaitsOnCurrentHolder ensures a series of waiters
obtain lock only after the previous lock requests are gone.
2017-03-14 11:00:07 -07:00
9b91e96510
integration: fix rwmutex test to check write locking
2016-09-13 14:09:59 -07:00
feaff17259
session: remove session manager and add ttl
2016-08-15 14:12:25 -07:00
393725fe5f
clientv3/concurrency: ctx-ize Leader(), Resign(), and Unlock()
2016-05-13 10:07:35 -07:00
ef44f71da9
*: update LICENSE header
2016-05-12 20:51:48 -07:00
78ae4b92a6
integration: fix NewClientV3 error messages
2016-05-12 10:26:27 -07:00
22797c7185
clientv3/concurrency: use session lease id for mutex keys
...
With randomized keys, if the connection goes down, but the session remains,
the client would need complicated recovery logic to avoid deadlock.
Instead, bind the session's lease id to the lock entry; if a session tries
to reacquire the lock it will reassume its old place in the wait list.
2016-04-26 17:37:26 -07:00
bd832e5b0a
*: migrate Godeps to vendor/
2016-03-22 17:10:28 -07:00
dae7e009b0
*: godoc clean up
2016-03-19 14:19:23 -07:00
360aafec76
clientv3: include a context in Client
...
Useful for clean up tasks
2016-03-04 09:20:44 -08:00
d4b2044eb1
clientv3/concurrency: Mutex
2016-02-24 17:23:40 -08:00
20461ab11a
*: fix many typos
2016-01-31 21:42:39 -08:00
1767788074
*: expose integration functions for clientv3
2016-01-28 21:21:34 -08:00
56fce9f386
contrib/recipes, integration: use clientv3
...
updating both together since there's a circular dependency
2016-01-27 14:37:51 -08:00
b07900ae03
contrib: v3 recipes
...
Concurrency recipes using the V3 API (sans leases).
2016-01-22 13:46:22 -08:00