Commit Graph

57 Commits (04318ff1be8a871d5b32099c5f99868917e7e70b)

Author SHA1 Message Date
Xiang Li d0e9449ba2 use url package to parse url; fix commented codes 2013-08-06 09:08:22 -07:00
Xiang Li 65c34457de fix test file 2013-08-05 21:28:42 -07:00
Xiang Li bebcf4b733 simplify tree list 2013-08-05 17:03:31 -07:00
Xiang Li c6a4321310 gofmt 2013-08-05 16:06:23 -07:00
Xiang Li 63ba16f51a add clone func to help snapshot. add benchmarks 2013-08-05 16:05:49 -07:00
Xiang Li 39fa2eb4ee add benchmarks 2013-08-05 13:21:08 -07:00
Xiang Li 026f93cd83 add watch benchmark 2013-08-04 23:10:16 -07:00
Xiang Li 06c9f1893f avoid set value to root 2013-08-04 18:16:49 -07:00
Xiang Li dc2eae8595 fix watcher test and keyword test 2013-08-04 17:42:28 -07:00
Xiang Li 8a4b2e83a5 change create->new, follow go spec 2013-08-04 17:17:40 -07:00
Xiang Li ce33c4d29f gofmt 2013-08-03 23:30:15 -07:00
Xiang Li 66f4e0aa19 clear watchers before recover from a snapshot 2013-08-03 23:29:05 -07:00
Xiang Li 53feb9d973 add space in comments 2013-08-03 21:16:09 -07:00
Xiang Li 7ea4ae8693 add RawGet that will return Response struct 2013-08-02 20:17:37 -07:00
Xiang Li 4a5abf1ab8 gofmt 2013-08-02 12:45:17 -07:00
Xiang Li 3ba4ea65f2 version name etcd 0.1 2013-08-02 12:44:16 -07:00
Xiang Li 0ebd133a0d support version and basic stats 2013-08-02 12:31:35 -07:00
Cong Ding 13af54fdd0 revise log handling
All the log-related operations are calling functions in util.go. This makes
the consistancy of the logs.
2013-08-01 23:28:03 +02:00
Xiang Li cc428c4e84 change keyword from /machines to /_etcd/machines 2013-07-31 19:40:40 -07:00
Xiang Li e4fde5b044 fix typo 2013-07-31 14:55:03 -07:00
Xiang Li 612fcf120e check keywords before set/testandset 2013-07-31 10:10:00 -07:00
Xiang Li 756b2cc750 add keyword checker 2013-07-31 09:52:03 -07:00
Xiang Li 69f8b8693d add new node to /machines 2013-07-30 22:39:45 -07:00
Xiang Li 5f51c728c6 fix the recoveryTest 2013-07-16 18:12:19 -07:00
Cong Ding f6b46fb0f2 make store test work 2013-07-17 01:45:45 +02:00
Cong Ding 9da955ca75 clean format with gofmt -w 2013-07-16 19:44:09 +02:00
Cong Ding 823691feaa remove trailing space 2013-07-16 19:40:41 +02:00
Xiang Li ac945c77de add keyword file to keep keys for internal usage 2013-07-13 19:44:45 -07:00
Xiang Li 9dc51d0412 fix can change the value of a dir bug 2013-07-12 16:36:21 -07:00
Xiang Li bff9321aa2 merge get and list operation 2013-07-12 16:04:00 -07:00
Xiang Li 0aa70e125c create error map 2013-07-12 13:35:43 -07:00
Xiang Li 4b9b5d8069 merge get and list 2013-07-12 10:10:56 -07:00
Xiang Li a131632d3d error handling 2013-07-12 08:41:28 -07:00
Xiang Li 1e9307e88a clean up tree.go and watcher.go 2013-07-09 13:14:12 -07:00
Xiang Li 55146c3ece clean tree struct code 2013-07-08 21:20:50 -07:00
Xiang Li dc3844a1f8 add testAndSet Command 2013-07-08 11:00:10 -07:00
Xiang Li 93c96b3813 add list feature 2013-07-05 16:22:45 -07:00
Xiang Li b02a7d8bb4 traverse also record the key and add sorted traverse 2013-07-04 13:50:37 -07:00
Xiang Li 547ad6ee3b add func arg to traverse func 2013-07-03 15:35:25 -07:00
Xiang Li 4768b82b11 add traverse func and fix testing 2013-07-03 15:00:50 -07:00
Xiang Li 6e3379c3ef treeStruct first commit 2013-07-03 12:57:23 -07:00
Xiang Li c5901f4b88 tree store init commit 2013-07-02 18:09:54 -07:00
Xiang Li ab285a90bb using go http lib to parse post body 2013-07-01 11:16:30 -07:00
Xiang Li e211554b91 watch accept sinceIndex 2013-06-30 16:30:41 -07:00
Xiang Li a2b44bf9b7 use map to store the results. 2013-06-30 10:09:05 -07:00
Xiang Li b9a30986bb fix checking wrong index in watcher.go 2013-06-29 22:20:18 -07:00
Xiang Li 047f8ab6a8 watch sinceindex works 2013-06-29 15:29:10 -07:00
Xiang Li eef6f45e09 add ttl to response 2013-06-29 13:48:13 -07:00
Xiang Li cff78e2e5e keep index in the store 2013-06-29 13:13:51 -07:00
Xiang Li 5681e1a9d0 return command index 2013-06-29 12:49:05 -07:00