Bartłomiej Rutkowski
50e6256058
feat(Documentation): add instructions on freebsd
2014-01-23 16:43:38 -08:00
Brandon Philips
1b00c449a5
Revert "Better error message when setting values on directories"
...
This reverts commit d13dd50d5107b10eaeda734d971cd4512cb4a304.
2014-01-23 11:22:11 -08:00
Xiang Li
9848072d21
Merge pull request #487 from intjonathan/patch-1
...
English clarity in filesystem documentation.
2014-01-23 04:03:05 -08:00
Xiang Li
2652e46d66
Merge pull request #504 from kelseyhightower/master
...
Better error message when setting values on directories
2014-01-23 03:59:40 -08:00
Kelsey Hightower
d13dd50d51
Better error message when setting values on directories
...
Without this commit etcd returns the following error message when
setting values on directories:
{
"errorCode":102,
"message":"Not a file",
"cause":"/postgres",
"index":2
}
While the above error message is accurate it's not very descriptive.
This commit adds a new error code/message which better describes why the
write operation failed. etcd now returns the following:
{
"errorCode":109,
"message":"Cannot set value on directory",
"cause":"/postgres",
"index":2
}
2014-01-22 23:02:33 -08:00
Jonathan Owens
8fece992eb
Update filesystem documenation for clarity.
2014-01-22 20:43:54 -08:00
Brandon Philips
3264b51a74
Merge pull request #501 from benbjohnson/snapshot-documentation
...
Add snapshot documentation
2014-01-22 15:26:53 -08:00
Ben Johnson
0692097a73
Add snapshot documentation.
2014-01-22 16:06:25 -07:00
Brandon Philips
19ef1042d6
Merge pull request #497 from philips/store-bench-no-rand
...
fix(store/store_bench): don't use rand
2014-01-22 13:19:04 -08:00
Brian Waldon
394e651591
Merge pull request #484 from bcwaldon/server-config
...
Refactor server init code
2014-01-22 11:39:27 -08:00
Brian Waldon
2fe22f1890
refactor(servers): emit http.Handlers from *Server
2014-01-22 11:17:58 -08:00
Brian Waldon
089021ca6d
refacotor(transporter): make TLS config explicit
2014-01-22 11:17:58 -08:00
Brian Waldon
f158dfcd77
refactor(peerserver): Remove PeerServerConfig.Path
2014-01-22 11:17:58 -08:00
Brian Waldon
19980a7033
refactor(peerserver): remove timeouts from PeerServerConfig
2014-01-22 11:17:58 -08:00
Brian Waldon
a7d9efa900
refactor(server): Remove ServerConfig struct
2014-01-22 11:17:58 -08:00
Brian Waldon
0abd860f7e
refactor(server): drop Serve code; rename cors object
...
* server/cors.go renamed to http/cors.go
* all CORS code removed from Server and PeerServer
* Server and PeerServer fulfill http.Handler, now passed to http.Serve
* non-HTTP code in PeerServer.Serve moved to PeerServer.Start
2014-01-22 11:17:57 -08:00
Brian Waldon
5c3a3db2d8
refactor(server): treat Server as an http.Handler
2014-01-22 11:17:57 -08:00
Brian Waldon
074099a1b2
refactor(cors): Simplify corsInfo struct
2014-01-22 11:17:57 -08:00
Brian Waldon
a2ee620394
refactor(raft): init raft transporter & server in main
2014-01-22 11:17:56 -08:00
Brian Waldon
ffa2b07dc4
refactor(transporter): Pass in everything the transporter needs
2014-01-22 11:17:43 -08:00
Brian Waldon
60bbc57aeb
refactor(transporter): pass in timeouts
2014-01-22 11:17:43 -08:00
Brian Waldon
86718167e8
refactor(peer_server): move stats construction to factories
2014-01-22 11:17:42 -08:00
Brian Waldon
7bd4d05a38
refactor(peer-server): move listener init out of peer_server.go
2014-01-22 11:17:41 -08:00
Brian Waldon
d0c4916fe9
refactor(server): move listener init out of server.go
2014-01-22 11:17:26 -08:00
Brian Waldon
91fc6aabd2
chore(gofmt): Run gofmt
2014-01-22 11:17:26 -08:00
Brian Waldon
c0ff8f6026
chore(imports): Shift around some imports
2014-01-22 11:17:26 -08:00
Brian Waldon
a93d60be90
refactor(cors): Break apart CORS data and middleware
2014-01-22 11:17:26 -08:00
Brian Waldon
c47760382e
refactor(Server): Use a config struct in Server
2014-01-22 11:17:25 -08:00
Brian Waldon
9c8a23c333
refactor(PeerServer): Use a config struct in PeerServer
2014-01-22 11:17:03 -08:00
Brian Waldon
91f768f9ae
refactor(cors): Rename cors_handler.go to cors.go
2014-01-22 10:59:12 -08:00
Brandon Philips
6c48466bfe
Merge pull request #500 from drusellers/patch-2
...
adding .net client to the matrix
2014-01-22 09:26:44 -08:00
Dru Sellers
5bf667851c
adding .net client to the matrix
2014-01-22 10:00:22 -06:00
Brandon Philips
d77e3a203f
Merge pull request #499 from drusellers/patch-1
...
adding .net client
2014-01-22 07:29:09 -08:00
Dru Sellers
c32dfa013d
adding .net client
2014-01-22 09:24:54 -06:00
Xiang Li
6b70efbe30
Merge pull request #498 from tobz/actually-hidden-keys
...
fix(store): properly hide hidden keys from watchers, not just gets
2014-01-22 06:52:31 -08:00
tobz
641edd4e6e
test(store): group together all store tests that deal with hidden keys
2014-01-22 09:29:53 -05:00
tobz
823fdfab12
fix(store): make isHidden see if any portion of the path is hidden, not just the last element
2014-01-22 09:29:33 -05:00
tobz
0cacb6cba4
test(store): exercise watchers receiving notifications of non-hidden keys within hidden directories
2014-01-22 09:20:57 -05:00
tobz
7a948746a8
fix(store): move logic to handle whether or not to notify (re: hidden keys) entirely into watcher hub
2014-01-22 09:02:42 -05:00
TANABE Ken-ichi
1273875a00
fix(mod/lock): Use CreatedIndex in the first node to watch
...
ModifiedIndex in the lock directory is not incremented and the event
store has only 1000 histories for now.
Acquiring a lock is not queued while (index - ModifiedIndex) > 1000 and
prevIndex exists.
2014-01-22 20:00:15 +09:00
TANABE Ken-ichi
4c2942f9f9
fix(mod/lock): Use dedicated channel to shutdown goroutine properly
...
If closeChan is available and stopWatchChan was closed by defer
select selects a single channel randomly. This causes a panic sending to closed
channel.
2014-01-22 19:42:07 +09:00
tobz
139f59f7d1
fix(store): properly hide hidden keys from watchers, not just gets
2014-01-21 20:26:56 -05:00
Brandon Philips
80c22a4fb2
fix(store/store_bench): don't use rand
...
rand just introduces more noise to the results, don't use it.
2014-01-21 17:01:26 -08:00
Brian Waldon
a417782151
Merge pull request #483 from bcwaldon/metrics
...
Integrate go-metrics
2014-01-21 14:17:03 -08:00
Brandon Philips
e87f3231a1
Merge pull request #496 from bcwaldon/droneio
...
test(ci): Replace travis.ci with drone.io
2014-01-21 12:28:52 -08:00
Brian Waldon
fe39288ebf
test(ci): Replace travis.ci with drone.io
2014-01-21 11:50:36 -08:00
Brian Waldon
97bc5b260d
feat(metrics): Publish peer heartbeat events as metrics
2014-01-21 11:44:22 -08:00
Brian Waldon
47f24d1088
bump(github.com/coreos/raft): bf7accb84ce4fe446983abffe00dd18a6b8cbc18
2014-01-21 11:18:50 -08:00
Xiang Li
3a75d0a465
Merge pull request #493 from xiangli-cmu/bench_watcher
...
test(store_bench_test.go) add watch bench
2014-01-21 07:35:18 -08:00
Xiang Li
17c8f6d2e8
test(store_bench_test.go) add watch bench
2014-01-21 06:51:40 -05:00