Commit Graph

80 Commits (b6d98719f6aae6c4628962d027a17d21d7b1d909)

Author SHA1 Message Date
Yicheng Qin 00c32ef022 *: bump to v2.1.0-rc.0 2015-06-29 14:02:39 -07:00
Yicheng Qin d0f6432b51 *: bump to v2.1.0-alpha.1+git 2015-06-16 22:02:00 -07:00
Yicheng Qin c4a5088bbc *: bump to v2.1.0-alpha.1 2015-06-16 22:00:17 -07:00
Xiang Li 6296054ff6 etcdhttp: version endpoint also returns cluster version. 2015-05-13 15:48:10 -07:00
Mohammad Samman 3914defd8a version: added more version information
added more version information output to aid debugging
print etcd Version, Git SHA, Go runtime version, OS
and architecture

Fixes #2560
2015-05-09 03:21:10 +00:00
Xiang Li 6699107f61 *: add cluster version and cluster version detection.
Cluster version is the min major.minor of all members in
the etcd cluster. Cluster version is set to the min version
that a etcd member is compatible with when first bootstrapp.

During a rolling upgrades, the cluster version will be updated
automatically.

For example:

```
Cluster [a:1, b:1 ,c:1] -> clusterVersion 1

update a -> 2, b -> 2

after a detection

Cluster [a:2, b:2 ,c:1] -> clusterVersion 1, since c is still 1

update c -> 2

after a detection

Cluster [a:2, b:2 ,c:2] -> clusterVersion 2
```

The API/raft component can utilize clusterVersion to determine if
it can accept a client request or a raft RPC.

We choose polling rather than pushing since we want to use the same
logic for cluster version detection and (TODO) cluster version checking.

Before a member actually joins a etcd cluster, it should check the version
of the cluster. Push does not work since the other members cannot push
version info to it before it actually joins. Moreover, we do not want our
raft RPC system (which is doing the heartbeat pushing) to coordinate cluster version.
2015-04-29 11:31:59 -07:00
Yicheng Qin 0d25b20fc0 *: bump to v2.1.0-alpha.0+git 2015-04-23 15:02:51 -07:00
Yicheng Qin c1608bcdb4 *: bump to v2.1.0-alpha.0 2015-04-23 15:02:18 -07:00
Xiang Li 5ad559b503 *: serve json version on both client and peer url 2015-04-20 16:23:51 -07:00
Yicheng Qin 60efd4d96e Revert "etcdhttp: add internalVersion"
This reverts commit a77bf97c14.

Conflicts:
	version/version.go
2015-03-27 16:53:55 -07:00
Yicheng Qin 16183bc22b version: not return err NotExist in Detect 2015-03-24 20:19:42 -07:00
Yicheng Qin 5e0077cc0c etcdserver: print out extra files in data dir instead of erroring 2015-03-24 18:56:22 -07:00
Yicheng Qin cea3448438 *: bump to v2.0.4+git 2015-02-27 12:25:50 -08:00
Yicheng Qin 1a2c6d3f2f *: bump to v2.0.4 2015-02-26 22:01:24 -08:00
Yicheng Qin 4d728cc8c4 *: bump to v2.0.3 2015-02-13 15:27:24 -08:00
Yicheng Qin a71184424a *: bump to v2.0.2+git 2015-02-12 11:41:48 -08:00
Yicheng Qin 409daceb73 *: bump to v2.0.2 2015-02-12 11:14:50 -08:00
Yicheng Qin fe1d9565c2 *: bump to 2.0.1 2015-02-10 20:19:35 -08:00
Brandon Philips b606078e93 version: bump to 2.0.0 2015-01-27 23:08:58 -08:00
Yicheng Qin 43f1ccc88c version: bump to v2.0.0-rc.2 2015-01-27 14:48:30 -08:00
Jonathan Boulle f1ed69e883 *: switch to line comments for copyright
Build tags are not compatible with block comments.
Also adds copyright header to a few places it was missing.
2015-01-26 09:53:30 -08:00
Xiang Li a77bf97c14 etcdhttp: add internalVersion 2015-01-22 15:42:16 -08:00
Brandon Philips 221abdcb3b version: bump to v2.0.0-rc.1 2014-12-18 10:27:29 -08:00
Brandon Philips 3794f6ab88 version: bump to alpha.5 2014-12-12 16:26:16 -08:00
Yicheng Qin 7614aa53bf version: bump to alpha.4 2014-11-25 21:41:13 -08:00
Yicheng Qin fd512ffe6d version: bump to alpha.3 2014-11-14 15:51:01 -08:00
Brandon Philips 0b493ac8d4 version: bump to alpha.2 2014-11-07 16:44:02 -08:00
Brandon Philips 500e9e2212 version: bump to v0.5.0-alpha.1 2014-10-31 15:22:13 -07:00
Brandon Philips 2b9cabcbcd version: bump to v0.5.0-alpha.0 2014-10-24 17:25:49 -07:00
Brian Waldon 46be5d7d5f version: move version string into new package 2014-10-22 17:52:40 -07:00