Xiang Li
b0793e2dd9
refactor create do not need to check existence first
2013-10-12 21:48:29 -07:00
Xiang Li
40c520ca1b
refactor remove raft singleton
2013-10-10 15:40:05 -07:00
Xiang Li
255e14a5c4
refactor command.go,server.go: add raftWrapper as context, totally get rid of reference in command.go
2013-10-09 20:51:21 -07:00
Xiang Li
61899d62c5
refactor command.go: commands do not rely on the etcdStore singleton. So we can seprate command into a package in the furture.
2013-10-09 20:34:00 -07:00
Xiang Li
4bf57537b5
refactor store.go remove extra assignment
2013-10-08 22:12:00 -07:00
Xiang Li
e597947bd8
refactor store.go update
2013-10-08 22:10:18 -07:00
Xiang Li
a030a41153
refactor store.go remove unwanted print
2013-10-08 22:01:22 -07:00
Xiang Li
75959f9948
refactor add node.ExpirationAndTTL
2013-10-08 21:49:10 -07:00
Xiang Li
c3e2332479
refactor separate kvpair to kvpair.go; simplify sorting interface
2013-10-08 21:25:56 -07:00
Xiang Li
3c7f9215d1
comments node.go
2013-10-07 23:30:51 -07:00
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