Commit Graph

178 Commits

Author SHA1 Message Date
32df6f92fc fix(peer): Pass peer server timeouts through factory
The peer's heartbeat and election timeouts are needed to build
the transporter in the factory method.
2014-01-14 09:18:03 -08:00
b0cdf73565 feat(logging): Add VeryVeryVerbose opt to control raft trace info
Set very_very_verbose=true in a config file or use the -vvv CLI
option to get raft trace logs in addition to etcd debug logs.
2014-01-10 11:45:04 -08:00
c7536ff5e1 Add Tuning section to README. 2013-12-18 16:40:29 -07:00
8442e7a0dc Timeout refactor. 2013-12-07 14:35:31 -07:00
a06f5e74af Merge remote-tracking branch 'upstream/master' into feature-parametric-timeout
Conflicts:
	Dockerfile
	server/usage.go
	tests/server_utils.go
2013-12-06 10:13:33 +00:00
e7839e8c57 fix(etcd): Fix forced config reset
When a server name or a data directory were not provided, the
reset functionality would fail to clear out config files from
the appropriate place. This calcualtes the default server name
and data directory before reset is called.
2013-12-05 13:26:31 -08:00
46f8a354d1 Added the ability to specify heartbeat and election timeouts as
config parameters.
2013-12-04 16:58:44 +00:00
04711ecde5 fix(etcd): fixup the name and data dir guessing
- Only generate the name from a hostname if the data dir is not
  specified and the name is not specified

- Only guess the data dir from Name if the data dir wasn't already
  specified
2013-11-27 12:20:26 -08:00
7c07810958 fix(etcd): remove duplicate DataDir setup
In the refactor of the configuration and flags I think that we
accidently placed this logic twice. The side effect is that we always
ended up with a `.etcd` directory.
2013-11-26 10:22:39 -06:00
8a0496cfae bump deps 2013-11-22 08:59:24 -08:00
ea6b11bbf6 Config clean up and usage messaging. 2013-11-20 10:52:01 -07:00
8952c1bd42 Merge branch 'master' of https://github.com/coreos/etcd into clean-up-config
Conflicts:
	etcd.go
2013-11-19 08:28:46 -07:00
cba2611c68 Renamed configuration parameters. 2013-11-15 00:13:32 -05:00
516f249403 fix create folder before write info file 2013-11-14 20:00:44 -08:00
eecd9f7e35 feat(etcd): create unique directory on no-flag case
Tell etcd to store the log and configuration into directory in the
pattern of `${machineName}.etcd` if no directory is specified.
2013-11-13 10:16:02 -08:00
6a074d4f6f chore(*.go): add copyright notice 2013-11-08 14:04:15 -08:00
51f57629f9 Merge pull request #281 from xiangli-cmu/fix-snapshot
fix snapshot
2013-11-03 21:10:53 -08:00
c10653ae0c feat(etcd): use hostname as machine name
by default I don't want etcd to require parameters so people can rapidly
try it out. Try to use the hostname as the name instead.
2013-10-31 15:16:28 -07:00
9d0de611a7 feat add snapCount parameter 2013-10-30 17:36:15 -07:00
bc0e07bca2 Add tiered configuration. 2013-10-21 21:37:25 -06:00
dcef04b796 Add v2 unit tests. 2013-10-17 21:52:15 -06:00
7670c85d70 feat(server): export ReleaseVersion
releaseVersion is needed in etcd.go to print it out in the -version
flag.
2013-10-16 17:29:53 -07:00
f998a19c3d feat(etcd): add version flag
print the version and exit, very simple :)

Conflicts:
	etcd.go
2013-10-16 17:29:53 -07:00
7416d2fdcc Mostly working. 2013-10-12 23:39:34 -06:00
8670e1b7aa Refactored. 2013-10-12 15:56:43 -06:00
bb9401544a Intermediate commit. 2013-10-12 13:35:23 -06:00
eb78d96a20 Intermediate commit. 2013-10-12 00:28:46 -06:00
89334df5ae Refactor commands. 2013-10-11 01:02:38 -06:00
594c2cab47 Refactor v2 API into server/v2. 2013-10-11 00:07:22 -06:00
a113a51d73 Refactor v1 API into server/v1. 2013-10-10 22:42:45 -06:00
40c520ca1b refactor remove raft singleton 2013-10-10 15:40:05 -07:00
784d286f37 merge from master 2013-09-28 16:58:57 -07:00
da83ee223b clean up from yifan 2013-09-28 16:26:19 -07:00
1caf2a3364 remove old store 2013-09-15 22:28:42 -04:00
2d7c1be164 merge 2013-09-14 15:22:37 -04:00
3ff100321c use new store system 2013-09-14 15:13:33 -04:00
44e8c234ed merge master 2013-09-07 14:47:55 -04:00
2f5015552e feat(etcd_handlers): enable CORS
When developing or using web frontends for etcd it will be necessary to
enable Cross-Origin Resource Sharing. Add a flag that lets the user
enable this feature via a whitelist.
2013-09-03 15:12:46 -07:00
329f8c4fa3 init filesystem 2013-09-03 14:30:42 -04:00
bfeed190ea feat(etcd): Default server listen and client listen to advertised IPs
Map the advertised IP to the listening IP by default. This will make
things nicer for the user.
2013-08-31 22:28:25 -07:00
351e84aece feat(etcd): add listen host parameter
this separates out the listening IP from the advertised IP. This is
necessary so that we can hit etcd on 127.0.0.1 but also advertise the
right IP to the rest of the cluster.
2013-08-23 13:07:15 -07:00
a97590ff50 basic stats 2013-08-19 17:19:45 -07:00
e50871cc36 remove unused struct 2013-08-17 08:30:32 -07:00
c459b4bda7 go flavour 2013-08-17 08:30:31 -07:00
981351c9d9 use type inheritance 2013-08-17 08:30:31 -07:00
ca4b5815f7 make raft and etcd server 2013-08-17 08:30:31 -07:00
9240258dc9 use var() 2013-08-17 08:30:31 -07:00
cb33641f5f clean up 2013-08-17 08:30:30 -07:00
915266d5f5 move tslconf to conf.go 2013-08-13 12:28:50 -07:00
3940196de0 move trans related func to trans.go 2013-08-13 12:23:35 -07:00