Commit Graph

1903 Commits (9f5ec7732e42f54d0a9b91ba6c85948265c7f410)

Author SHA1 Message Date
Doug MacEachern d73390a674 fix(server): avoid race conditions in Run/Stop
- don't close ready channel until PeerServer is listening.
  avoids possible panic in Stop() if PeerServer is nil.

- avoid data race in Run() (err variable was shared between 2 goroutines)

- avoid data race in PeerServer Start/Stop (PeerServer.closeChan)
2014-04-15 09:24:54 -07:00
Brandon Philips 66c552d048 Merge pull request #724 from bcwaldon/doc-fleet
doc(tools): Add fleet to list of projects using etcd
2014-04-14 14:44:15 -07:00
Brian Waldon f5ee9b97de doc(tools): Add fleet to list of projects using etcd 2014-04-14 14:43:37 -07:00
Yicheng Qin 8bcfb2ecaf Merge pull request #707 from unihorn/62
fix(peer_server): recover from outage with discovery
2014-04-14 13:58:43 -07:00
Yicheng Qin 03839ca806 fix(peer_server): recover from outage with discovery
This patch also contains the refactor of find cluster process.
It is changed based on @xiangli-cmu 's commits in 627 issue.
2014-04-14 13:56:47 -07:00
Yicheng Qin de9c318436 tests: add TestJoinThroughFollower 2014-04-14 13:41:45 -07:00
Xiang Li 0b790abd46 Merge pull request #705 from unihorn/61
feat: set NOCOW for log directory when in btrfs
2014-04-14 16:40:38 -04:00
Xiang Li 2dc182189a Merge pull request #710 from xiangli-cmu/fix_race
Fix race
2014-04-14 15:53:04 -04:00
Ed Rooth 8d68e2f5f0 chore(dashboard): recompile with new resources 2014-04-14 12:16:33 -07:00
Ed Rooth af6d5efb83 chore(dashboard/fonts): remove unused font files 2014-04-14 12:16:29 -07:00
Ed Rooth c08bcb6f5b fix(dashboard/build): update gruntfile for release build 2014-04-14 12:16:24 -07:00
Ed Rooth ef99b9ac49 feat(dashboard/stats): stats page 2014-04-14 12:16:18 -07:00
Ed Rooth 689de466de chore(dashboard/stats): add vega depencency 2014-04-14 12:16:11 -07:00
Ed Rooth 9e5ada880d feat(dashboard): key/value browser. 2014-04-14 12:13:04 -07:00
Ed Rooth 151b9c6ed2 feat(dashboard): project setup 2014-04-14 12:13:04 -07:00
Ed Rooth 35ddb6627e chore(dashboard): move dashboard server & fix routing. 2014-04-14 12:13:00 -07:00
Yicheng Qin d266f9dec7 Merge pull request #713 from unihorn/63
fix(server/key): unable to update unexpired ttl
2014-04-14 11:06:31 -07:00
Yicheng Qin 1af51ca0c5 docs(ttl): the way to unset ttl 2014-04-14 11:05:52 -07:00
Yicheng Qin c8de5eee85 fix(server/key): unable to update unexpired ttl 2014-04-14 11:03:46 -07:00
Ed Rooth 842dd5cab0 chore(dashboard): remove old dashboard 2014-04-14 10:52:26 -07:00
Ed Rooth 77270c6b00 feat(dashboard): add sigle-page-app html5 pushstate support 2014-04-14 10:50:37 -07:00
Xiang Li d4b33c7e12 Merge pull request #718 from bmizerany/master
docs(production-ready): explain the state of etcd clearly
2014-04-14 00:43:15 -04:00
Blake Mizerany a05ff7f83d docs(production-ready): explain the state of etcd clearly 2014-04-13 21:38:38 -07:00
Xiang Li 8071dd054c Merge pull request #717 from xiangli-cmu/fix_join_redirection
fix(peer join) fix wrong join command redirection
2014-04-13 21:59:39 -04:00
Xiang Li 4fd9e627c0 fix(peer join) fix wrong join command redirection
1. We use PUT request to do a V2 join. So we should redirect a PUT request rather than a POST.
2. /admin only accept V2Join request. Send out V2Join instead of V1Join.
2014-04-13 21:33:02 -04:00
Yicheng Qin 56ef6fbcae make necessary changes 2014-04-11 17:00:14 -07:00
Xiang Li bc70cdc242 tests(snapshot_test) loose the timing assumption for snapshot test
Test run slowly on drone after open race option.
2014-04-11 19:49:57 -04:00
Xiang Li dce461dbd7 tests(test.sh) open race option 2014-04-11 19:49:41 -04:00
Yicheng Qin 79a89dcb82 Revert "Revert "fix(server): only set NOCOW for log file""
This reverts commit 9540575690.

Conflicts:
	etcd/etcd.go
2014-04-11 16:33:50 -07:00
Xiang Li fc84da29e8 fix(internal_version_test.go) protect the checkedVersion by a lock 2014-04-10 23:35:55 -04:00
Xiang Li 2817baf3f8 fix(discovery_test.go) protect the garbageHandler by a lock 2014-04-10 23:28:40 -04:00
Xiang Li a9dff278b5 fix(store.go) send event to watcher after we finish modifying it 2014-04-10 23:27:50 -04:00
Xiang Li af87fa40c2 fix(registry.go) protect the peer and proxy map in the registry by lock 2014-04-10 23:24:09 -04:00
Xiang Li 6d08976cbe fix(raft_server_stats.go) protect raft stats by a lock 2014-04-10 22:50:44 -04:00
Brandon Philips 11525d357f fix(CONTRIBUTING): point to new mailing list 2014-04-10 15:20:28 -07:00
Brandon Philips 2a8c2c6a0b fix(README): use the new etcd-dev mailing list
We moved to google groups, update the URLs
2014-04-10 15:18:13 -07:00
Yicheng Qin bda8849c3b chore(btrfs): rename fs to btrfs
This is because the actions is specific for btrfs.
2014-04-09 15:06:17 -07:00
Yicheng Qin 375aeb57af fix(fs): make check on NOCOW 2014-04-09 14:44:54 -07:00
Yicheng Qin 9540575690 Revert "fix(server): only set NOCOW for log file"
This reverts commit 1eff547af6.
2014-04-09 14:39:16 -07:00
Yicheng Qin 8c0c427870 Merge pull request #694 from unihorn/59
chore(discovery): adjust error message
2014-04-09 13:50:28 -07:00
Yicheng Qin 6d77e4dfd6 fix(fs): rewrite test to avoid side effect 2014-04-09 13:11:23 -07:00
Yicheng Qin fe5eb31ca7 Merge pull request #706 from unihorn/62
bump(goraft/raft): cfa43a115
2014-04-09 12:53:25 -07:00
Yicheng Qin 66ce075ce1 bump(goraft/raft): cfa43a115 2014-04-09 12:42:20 -07:00
Yicheng Qin 1eff547af6 fix(server): only set NOCOW for log file 2014-04-09 12:35:32 -07:00
Yicheng Qin d871324e93 chore(pkg/fs): rewrite comment 2014-04-09 10:15:28 -07:00
Yicheng Qin b06d2796f8 feat: set NOCOW for log directory when in btrfs 2014-04-09 10:00:21 -07:00
Yicheng Qin 84ad6ddd79 chore(build): set build path to gopath/
With this, pkg/ could be used as normal directory, and it doesn't need
to gitignore pkg/, which shields pkg/http and pkg/strings.
2014-04-09 09:51:58 -07:00
Yicheng Qin 4ce8c3499b Merge pull request #702 from unihorn/60
feat(server): make header-only requests work
2014-04-08 17:58:38 -07:00
Yicheng Qin 76ac1da7ea feat(server): add HEAD for v1/watch 2014-04-08 17:37:05 -07:00
Yicheng Qin 89d3df242c chore(server): handle HEAD for key space efficiently
Implement HEAD in server/v1 and server/v2 functions to avoid
time wasting on JSON marhsal.
2014-04-07 18:55:07 -07:00