1 Star 0 Fork 0

shan123 / etcd

标签名
描述
提交信息
操作

v2.0.4 - jed version

  • fix build issue on windows
  • fix variable shadowing
  • add document about running etcd in docker
  • fix the bug that etcd fails to be killed when its pid equals to 1
  • fix the bug that etcd cluster recovers to old status
2015-02-27 14:01
  • Fix static building of etcd binary
  • Fix the bug of removing user data under /_etcd in migration
  • Fix the bug of saving snapshot panic
  • Fix the bug of recovering transport wrongly
  • Fix the bug of skipping cluster check in discovery bootstrap
  • Add support for graceful shutdown when receives SIGINT and SIGTERM
2015-02-14 07:27

Reinstating tag v2.0.1

2015-02-11 12:19

Fixes in 2.0.2:

  • Upgrade from 0.4.6 to 2.0.2 directly works

2.0.2 replaces 2.0.1, which contained

  • Add support for cluster-level upgrading from etcd 0.4.7 to etcd 2.0.1
  • Add cluster-health command to etcdctl
  • Add cluster tracking to proxy
  • Add a rafttest pkg for raft level failure injection tests
  • Change the data directory structure to /{data-dir}/member and /{data-dir}/proxy
  • Fix the bug of writing zero length entries message in rafthttp streamer
  • Fix a snapshot index bug in store that might lead to data inconsistency
2015-02-13 03:14
  • support allow_legacy mode for smooth upgrade
2015-02-11 07:59

v2.0.0

  • fully support and document DNS discovery using flag --discovery-srv
  • additional tests for all packages
  • fix the message flood from leader to follower when follower is unhealthy
  • support scaling from two member clusters to single member clusters (not a recommended configuration)
  • remove out of date documentation about the 0.4 releases
  • use tls information internally when finding cluster membership
  • WAL migration starts the term at 1 instead of 0
  • add debug tool etcd-dump-logs
  • update all documents to fit the v2.0 changes
  • add -heartbeat-interval and -election-timeout flags

Thank you to: 周春寅, efrecon, Yicheng Qin, Xiang Li, Shota Fukumori (sora_h),
Rob Szumski, Peter Suschlik, Peter Lemenkov, Matthew Williams, Kelsey
Hightower, Jörg Thalheim, Jurriaan Mous, Jonathan Boulle, Brian Waldon, Brandon
Philips, Ben Darnell, Barak Michener, Andrew Bonventre, Alban Crequy

2015-01-28 15:05

v2.0.0-rc.1

  • Documentation fixes preparing for rc
  • etcdctl now has env variables for x509 certs
  • Testing fixes for speed and reliability

Thanks to everyone who helped with this release: Barak Michener, Brandon
Philips, Jonathan Boulle, José Luis Salvador Rufo, Kelsey Hightower, Vipin
Jain, Xiang Li, Yicheng Qin, lisael

2014-12-19 02:27

v0.5.0-alpha.5

  • extract storage interface in raft package
  • print out more logs about raft and etcdserver behaviors
  • support purging old WAL and snapshot files automatically
  • optimize state machine processing in good path
  • fix restore snapshot bug in raft
  • fix the bug that may read empty state from WAL
  • document how to change peer urls
  • document the way to migrate member
  • add external etcd-lock(implemented by ravigadde) link to the tool doc

Thank you to: Barak Michener, Ben Darnell, Brandon Philips, Brian Waldon, Johan
Euphrosine, ravigadde, Rob Szumski, Veres Lajos, Xiang Li, Yicheng Qin

2014-12-13 08:26

v0.5.0-alpha.4

2014-11-26 15:32

v0.5.0-alpha.3

  • exit etcd when it restarts without existing data directory in best effort
  • etcd logs all configuration information on startup
  • add documentation for proxy-mode etcd: https://github.com/coreos/etcd/blob/master/Documentation/0.5/proxy.md
  • add more tests on Node struct in raft package
  • apply snapshot and committed entries in correct order
  • remove redundant publish-member log entries in cluster bootstrap
  • return JSON errors in proxy-mode etcd
  • support listening on both HTTP and HTTPS
  • add tests on raft message sender
  • add integration tests on member join and discovery bootstrap
  • support change peer urls dynamically
  • check and document -initial-advertise-peer-urls flag

Thank you to: Barak “Needs A Nickname” Michener, Ben Darnell, Brian “I Hate Mondays” Waldon, Jonathan “Clapping Bear” Boulle, Xiang “Bruce” Li, Yicheng “qycqycqycqycqycqycqyc” Qin

2014-11-15 08:13

v0.5.0-alpha.2

  • added optional proxy fallback to discovery mode. This is enabled by default but can be configured with the -discovery-fallback flag.
  • add further extensive Raft tests based on section 5.3 and 5.4 in the Raft paper
  • new Advance interface to raft.Node to correctly notify the node when entries have been applied
  • etcdctl now syncs before running member subcommands
  • etcdctl now supports tls with the --ca-file, --cert-file and --key-file` flags
  • etcdctl now has a backup command to save a copy of an etcd data directory
  • etcd now has a -force-new-cluster flag to use when restoring from a backup
  • expanded and clarified clustering documentation
  • WAL now syncs before returning from create
  • listen ports are initialized before starting the etcd server
  • when adding a member to a cluster, etcd now verifies that the given peer URLs are not already assigned to a member
  • exposed discovery-proxy flag (equivalent to the ETCD_DISCOVERY_PROXY environment variable)
  • setting flags from environment variables no longer potentially causes a panic
  • EcodePrevValueRequired is returned where appropriate
  • all errors returned to clients are now JSON formatted
  • all responses to clients should now have application/json Content-Type

Thank you to: Åsmund Grammeltvedt, Ben Darnell, Brandon Philips, Brian “What” Waldon, Jonathan “Bool” Boulle, Kelsey Hightower, Xiang Li, Yicheng Qin

2014-11-08 08:44

etcd v0.5.0-alpha.1

Thank you to: Yicheng Qin, Xiang Li, Micah Hausler, Pierre Phaneuf, Kelsey Hightower, Jonathan Boulle, Brian “BC” Waldon, Brian Ketelsen, Brandon Philips

2014-11-01 06:36

v0.5.0-alpha.0

  • etcd now listens on its IANA assigned ports along with its temporary ports (4001/7001) by default

    • 2379 for client communication
    • 2380 for peer communication
  • Members can listen on and advertise multiple ports. This enables a single
    member to listen on a public interface and a container bridge at the same time.

  • etcd peers proxy requests to the leader so clients no longer need to follow
    HTTP 307 redirects. This means if you can reach a single etcd member you can
    successfully read from/write to the cluster without regard to the network
    topology.

  • An etcd cluster now has a “cluster id” and each member has a unique “member
    id”. etcd will reject requests from members with mismatched cluster ids or
    unknown member ids. This protects the cluster from many common
    misconfigurations (like the dreaded duplicate ETCD_NAME)

  • etcd cluster bootstrap configuration has changed to be fully static. The team
    found that users attempting to bootstrap a cluster often had trouble
    configuring the cluster correctly and using a static configuration makes it
    easier to tell users when something has gone wrong. Full details can be found
    in the clustering documentation:
    https://github.com/coreos/etcd/blob/master/Documentation/0.5/clustering.md

  • Runtime cluster reconfiguration is done explicitly through an HTTP API
    (/v2/admin/members. Full details can be found in the API documentation:
    https://github.com/coreos/etcd/blob/master/Documentation/0.5/admin_api.md

  • The Raft implementation (github.com/coreos/etcd/raft) has been re-designed to
    enable faster and more thorough testing. The central raft state machine code is
    succinct (>600 LOC) and easy to understand when read alongside the Raft
    whitepaper.

  • The Raft log is now a strict append-only write-ahead log and includes a
    rolling CRC to each of the records in the log.

  • The key store starts up completely clean. The internal _etcd/* keys are no
    longer exposed to the user from the /v2/keys API.

  • etcd can operate in a pure proxy mode not participating in Raft consensus and
    also includes a readonly proxy.

  • ETCD_NAME is now advisory only and is not used internally by etcd to identify
    a member. This means that it is safe to change the name. Also, the client URL
    list that each member publishes can be changed from the flags and updated on
    restart.

  • The peers flags has been deprecated, in order to support the ability to
    specify machines with multiple addresses

  • Cluster auto adjustment (also known as standby-mode) has been deprecated.
    This feature was meant to help people manage their etcd cluster but it was a
    difficult to understand feature which lead to a lot of support burden. Instead,
    we have introduced an explicit proxy mode for etcd, and explicit cluster
    configuration operations (joining and removing nodes).

  • The TOML configuration file has been deprecated. The recommended replacement
    is to use environment variables (e.g. in a systemd unit file).

  • Discovery services now must provide a target cluster size. This is due to our
    experience helping users debug cluster bootstrap with the discovery service. We
    found that users could become confused when they thought that they had launched
    three machines (for a fault tolerance of one), but that only two had
    successfully started, and so etcd was accepting writes. Then when the
    inevitable happened and a single machine failed, etcd became unavailable.

2014-10-25 08:25

v0.4.6

  • Fix long-term timer leak (#900, #875, #868, #904)
  • Fix Running field in standby_info file (#881)
  • Add quorum=true query parameter for GET requests (#866, #883)
  • Add Access-Control-Allow-Headers header for CORS requests (#886)
  • Various documentation improvements (#907, #882)
2014-07-30 01:31

v0.4.5

  • Flush headers immediatly on wait=true requests (#877)
  • Add ETCD_HTTP_READ_TIMEOUT and ETCD_HTTP_WRITE_TIMEOUT (#880)
  • Add ETCDCTL_PEERS configuration to etcdctl (#95)
  • etcdctl takes stdin for mk (#91)
2014-07-08 09:10

v0.4.4

2014-06-25 01:55

v0.4.3

2014-06-08 09:17

v0.4.2

2014-06-03 06:25

v0.4.1

2014-05-21 11:46

v0.4.0

2014-05-21 08:08
1
https://gitee.com/shanmenghao/etcd.git
git@gitee.com:shanmenghao/etcd.git
shanmenghao
etcd
etcd

搜索帮助

344bd9b3 5694891 D2dac590 5694891