Xiang Li
48e6137f46
fix node.go race between expire and update
2013-10-07 23:21:39 -07:00
Xiang Li
a07802a347
refactor node.go; use once
2013-10-07 23:12:13 -07:00
Xiang Li
a71838a59b
refactor watcher.go
2013-10-07 22:17:58 -07:00
Xiang Li
baaaf24f70
(feat) v1 apt backward support
2013-10-06 11:23:52 -07:00
Xiang Li
b8b81d5b03
feat(store) create node with incremental suffix. accept #190 in new API
2013-10-03 08:59:05 -07:00
Xiang Li
512dede9ce
finish todo
2013-10-02 22:15:12 -07:00
Xiang Li
9412c86b97
fix wrong logic in event.go
2013-09-30 23:51:47 -07:00
Xiang Li
558d30f33f
simplify lock
2013-09-30 23:18:52 -07:00
Xiang Li
d2407dff9f
Merge pull request #15 from evan-gu/newStore
...
add watcher for expiration, add expiration for TestAndSet
2013-09-30 23:00:22 -07:00
evan-gu
974d74befb
add some comment and change a declaration form
2013-10-01 01:25:45 -04:00
evan-gu
6f591032ef
rename to DupCnt, duped; add some comments, maintained some format, add notification for immediate expiration
2013-10-01 00:35:44 -04:00
evan-gu
6fdffbcc85
delete some debug comments in stats_test.go
2013-09-30 22:17:17 -04:00
evan-gu
b8ac1d082b
fix race between Expire() and others, fix UpdateTTL(), modified watcher to catch Expire()
2013-09-30 22:10:40 -04:00
evan-gu
0959448855
add LastIndex and LastTerm in EventHistory
2013-09-30 12:18:28 -04:00
evan-gu
3ae316ac38
add ExpireCount and some test case
2013-09-30 02:39:40 -04:00
evan-gu
35724319c9
add watcher for expiration, add expiration for TestAndSet, add related test case
2013-09-30 01:06:18 -04:00
Xiang Li
4b2e53f29e
minor clean up
2013-09-28 17:41:45 -07:00
Xiang Li
33e010ebd8
add watchHistory clone
2013-09-28 17:41:02 -07:00
Xiang Li
2c9d57a9fe
fix conflicts
2013-09-28 17:05:00 -07:00
Xiang Li
784d286f37
merge from master
2013-09-28 16:58:57 -07:00
Xiang Li
da83ee223b
clean up from yifan
2013-09-28 16:26:19 -07:00
Xiang Li
8a7e5fc227
Merge pull request #187 from sakana/master
...
Switch to coreos/go-log
2013-09-28 13:24:14 -07:00
Xiang Li
c565ac23a7
Merge pull request #192 from xiangli-cmu/master
...
fix timeout
2013-09-28 13:20:02 -07:00
Xiang Li
266519c8d2
fix typo
2013-09-27 21:56:42 -07:00
Xiang Li
6f32b2d576
fix timeout
2013-09-27 21:24:33 -07:00
Brandon Philips
1d31b574ed
Merge pull request #191 from philips/fixup-spelling-error-stats
...
fix(raft_stats): spelling followers not follwers
2013-09-27 15:58:30 -07:00
Brandon Philips
6fb1d8a377
fix(raft_stats): spelling followers not follwers
2013-09-27 15:57:13 -07:00
Xiang Li
8fc1abd9b1
Merge pull request #184 from xiangli-cmu/master
...
Fix restart from snapshot.
2013-09-26 22:27:50 -07:00
Xiang Li
cc722a413f
change peer to follower
2013-09-26 20:00:12 -07:00
Xiang Li
2eb0625f15
mrege and change peerstats to followersstats
2013-09-26 19:58:48 -07:00
David Fisher
9825976e06
Merge upstream
2013-09-26 13:05:09 -07:00
Xiang Li
21f6b50607
Merge pull request #189 from philips/cleanup-stats-further
...
cleanup the stats json a bit
2013-09-26 13:00:39 -07:00
Brandon Philips
da01fe6027
fix(command): make Latency and Counts objects
...
instead of suffixing everything make a latency object
2013-09-26 12:17:54 -07:00
Brandon Philips
cbd8a4fb9c
feat(scripts/test-cluster): add a cluster test command
...
this uses tmux to setup a test cluster that you can easily kill and
start for debugging.
2013-09-26 10:40:33 -07:00
Brandon Philips
20488b498a
Merge pull request #168 from xiangli-cmu/cleanupStats
...
cleanup
2013-09-26 06:40:59 -07:00
Brandon Philips
0ef9d944f6
fix(gitignore): ignore the actual binary
2013-09-25 17:04:34 -07:00
Brandon Philips
aff4af1d0b
fix(build): use /bin/sh
...
it seems to work with bash -o posix. Ship it.
2013-09-25 17:04:05 -07:00
David Fisher
0b37c808dd
Fix nil logger in inits
...
Move the logger initialization out of init in util.go and into the
variable initializer. This ensures that it will be run before any of
the other init functions.
2013-09-25 15:39:25 -07:00
David Fisher
a121cbb721
Switch from golang log to coreos/go-log
2013-09-25 13:43:16 -07:00
David Fisher
951d467917
Swith to coreos/go-log from ccding/go-logging
...
bump(github.com/coreos/go-etcd): 57864cf81c66b8605816fafab3ab142e1c5f5b29
bump(github.com/coreos/go-log/log):
bump(github.com/coreos/go-systemd): 52f153170a52158deffce83502a9b6aed3744802
2013-09-25 13:32:51 -07:00
evan-gu
a568c6dc75
add some basic stats, and test case
2013-09-23 01:55:22 -04:00
Xiang Li
a8ff1b27d4
init peerStats in transportation.go; avoid nil pointer due to restart from snapshot(we do not keep stats in persistentlayer yet)
2013-09-22 11:20:08 -04:00
Xiang Li
3a0a8c89e8
Merge pull request #183 from xiangli-cmu/master
...
bump 3rd party
2013-09-21 22:33:17 -07:00
Xiang Li
24b34d0a1e
bump 3rd party
2013-09-22 01:32:49 -04:00
Brandon Philips
c5c3604471
Merge pull request #182 from xiangli-cmu/master
...
bump 3rd party
2013-09-21 21:17:40 -07:00
Xiang Li
d3fbf6d997
bump 3rd party
2013-09-21 23:09:20 -04:00
Brandon Philips
940294d1cd
README: add jdarcy/etcd-api, a C library
2013-09-19 10:57:17 -05:00
Xiang Li
48d234c836
Merge pull request #179 from jplana/patch-1
...
Added new python client
2013-09-18 06:18:45 -07:00
Jose Plana
ca84d11f8c
Added new python client
...
Hi! I just published my own take on a python client for etcd.
2013-09-18 13:28:02 +02:00
Brandon Philips
fba31a8461
README: add binocarlos/yoda
2013-09-17 10:21:33 -07:00