Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: etcd-io/etcd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.0.6
Choose a base ref
...
head repository: etcd-io/etcd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.7
Choose a head ref
  • 12 commits
  • 16 files changed
  • 5 contributors

Commits on Aug 19, 2016

  1. version: bump to v3.0.6+git

    gyuho committed Aug 19, 2016
    Configuration menu
    Copy the full SHA
    6fd996f View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2016

  1. discovery: reject IP address records in SRVGetCluster

    Was incorrectly trimming the trailing '.' from the target; this in turn
    caused the etcd server to accept any SRV record with an IP target
    instead of only targets with A records.
    Anthony Romano authored and gyuho committed Aug 24, 2016
    Configuration menu
    Copy the full SHA
    96422a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2016

  1. fileutil: add ZeroToEnd for zeroing files

    Anthony Romano authored and gyuho committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    2374016 View commit details
    Browse the repository at this point in the history
  2. wal: test for truncation on torn writes

    Anthony Romano authored and gyuho committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    db378c3 View commit details
    Browse the repository at this point in the history
  3. wal: zero out wal tail past its first zero record

    Whenever the WAL is opened for writes, it should write zeroes to its tail
    starting from the first zero record. Otherwise, if there are entries past
    the first zero record due to a torn write, any new writes that overlap the
    old entries will lead to a garbage record on the tail and cause a CRC
    mismatch.
    Anthony Romano authored and gyuho committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    bd7581a View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2016

  1. etcdserver: allow zero kv index for cluster upgrade

    If a user upgrades etcd from 2.3.x to 3.0 and shutdown the
    cluster immediately without triggering any new backend writes,
    then the consistent index in backend would be zero.
    
    The user cannot restart etcdserver due to today's strick index
    match checking. We now have to lose this a bit for this case.
    xiang90 authored and gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    0bd9bea View commit details
    Browse the repository at this point in the history
  2. ioutil: add page buffered writer

    A buffered writer that only writes full pages or when explicitly flushed.
    Anthony Romano authored and gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    59e560c View commit details
    Browse the repository at this point in the history
  3. wal: use page buffered writer for writing records

    Forces torn writes to only happen on sector boundaries.
    
    Fixes #6271
    Anthony Romano authored and gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    480a347 View commit details
    Browse the repository at this point in the history
  4. wal: hold file lock while renaming WAL directory on non-Windows

    Windows requires this lock to be released before the directory is
    renamed. But on unix-like operating systems, releasing the lock and
    trying to reacquire it immediately can be flaky if a process is forked
    around the same time. The file descriptors are marked as close-on-exec
    by the Go runtime, but there is a window between the fork and exec where
    another process will be holding the lock.
    aaronlehmann authored and gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    5089bf5 View commit details
    Browse the repository at this point in the history
  5. clientv3/concurrency: allow election on prefixes of keys.

    After winning an election or obtaining a lock, we
    auto-append a slash after the provided key prefix.
    This avoids the previous deadlock due to waiting
    on the wrong key.
    
    Fixes #6278
    
    Conflicts:
    	clientv3/concurrency/election.go
    	clientv3/concurrency/mutex.go
    glycerine authored and gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    4b48876 View commit details
    Browse the repository at this point in the history
  6. wal: lowercase segmentSizeBytes

    gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    183293e View commit details
    Browse the repository at this point in the history
  7. version: bump to v3.0.7

    gyuho committed Aug 31, 2016
    Configuration menu
    Copy the full SHA
    5695120 View commit details
    Browse the repository at this point in the history
Loading