Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETCD-202: bump etcd v3.5.0 #91

Merged
merged 1,726 commits into from
Aug 2, 2021
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 17, 2021

  1. Merge pull request etcd-io#12846 from pyiyun/fix-snaptmpfile-bug

    etcdserver: remove temp files in snap dir when etcdserver starting
    ptabor authored Apr 17, 2021
    Configuration menu
    Copy the full SHA
    06ba0fc View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2021

  1. Merge pull request etcd-io#12864 from ssbostan/master

    client: fix check datascale command for https endpoints
    ptabor authored Apr 18, 2021
    Configuration menu
    Copy the full SHA
    2f77a1a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. doc: fix branch management link

    qsyqian committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    2cbd86b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3423a94 View commit details
    Browse the repository at this point in the history
  3. Merge pull request etcd-io#12874 from ptabor/20210417-go1.16.3

    Update go for 3.5: 1.15.x -> 1.16.3
    ptabor authored Apr 19, 2021
    Configuration menu
    Copy the full SHA
    11249fd View commit details
    Browse the repository at this point in the history
  4. Makefile: Fix build-docker-release-master

    Since the Dockerfile files are now per arch, this adjusts to detect ARCH
    and builds docker release from the Dockerfile.<ARCH> file.
    lilic committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    81652d1 View commit details
    Browse the repository at this point in the history
  5. build.sh: Adjust building etcdctl to be same as etcd binary

    This fixes so that the ENV vars are taken in the same way as for etcd
    binary.
    lilic committed Apr 19, 2021
    Configuration menu
    Copy the full SHA
    51c28fc View commit details
    Browse the repository at this point in the history
  6. Merge pull request etcd-io#12878 from lilic/fix-docker-release

    Makefile, build.sh: Fix build process
    gyuho authored Apr 19, 2021
    Configuration menu
    Copy the full SHA
    334e696 View commit details
    Browse the repository at this point in the history
  7. Merge pull request etcd-io#12876 from qsyqian/branch_management_link

    doc: fix branch management link
    ptabor authored Apr 19, 2021
    Configuration menu
    Copy the full SHA
    8162d9c View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Configuration menu
    Copy the full SHA
    140ea4f View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG-3.5.md

    chaochn47 committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    b321c48 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2021

  1. Merge pull request etcd-io#12880 from chaochn47/exclude_alarms_from_h…

    …ealth_check
    
    etcdhttp/metrics.go: exclude alarms from health check conditionally with `?exclude=NOSPACE`
    hexfusion authored Apr 21, 2021
    Configuration menu
    Copy the full SHA
    0f2c940 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12873 from ptabor/20210417-test-docker-gcloud

    Makefile: Use `gcloud auth configure-docker` instead of `gcloud docker ...` for test-images
    ptabor authored Apr 21, 2021
    Configuration menu
    Copy the full SHA
    ce3dae6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request etcd-io#12854 from ptabor/20210410-shouldApplyV3

    (no)StoreV2 (Part 3): Applying consistency fix: ClusterVersionSet (and co) might get not applied on v2store
    ptabor authored Apr 21, 2021
    Configuration menu
    Copy the full SHA
    ea287dd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7d110b View commit details
    Browse the repository at this point in the history
  5. Merge pull request etcd-io#12883 from ptabor/20210421-backend-refacto…

    …r-testing
    
    mvcc/backend tests: Refactor: Do not mix testing&prod code.
    ptabor authored Apr 21, 2021
    Configuration menu
    Copy the full SHA
    cc52d99 View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2021

  1. Errors: context cancelled or context deadline exceeded are expose…

    …d as codes.Canceled, codes.DeadlineExceeded instead of 'codes.Unknown'
    ptabor committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    9a4b2bd View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12885 from ptabor/20210422-error-codes-con…

    …text
    
    Errors: `context cancelled` or `context deadline exceeded` are exposed as codes.Canceled, codes.DeadlineExceeded instead of 'codes.Unknown'
    ptabor authored Apr 22, 2021
    Configuration menu
    Copy the full SHA
    bd4f8e2 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2021

  1. Deflake: TestFirstCommitNotification

    Infrequently the test flaked. Reproducable with:
    
    ```
      go test go.etcd.io/etcd/tests/v3/integration --run TestFirstCommitNotification --count=500
    ```
    
    The moveLeader finishes when configchange is commited by quorum.
    It doesn't guarantee that the 'empty' record was committed by the new leader.
    From time to time happened that appliedLeaderIndex was returning 9
    (without empty entry) and the test flaked. In healthy case the
    appliedIndex returned 10.
    
    Fixed by putting kv pair after leader change. The pair is guaranteed
    to be stored on index when put finishes (so the empty entry as well).
    ptabor committed Apr 23, 2021
    Configuration menu
    Copy the full SHA
    9f55977 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12889 from ptabor/20210423-deflake-TestFir…

    …stCommitNotification
    
    Deflake: TestFirstCommitNotification
    ptabor authored Apr 23, 2021
    Configuration menu
    Copy the full SHA
    9a3aff6 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2021

  1. Configuration menu
    Copy the full SHA
    ddcb463 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2021

  1. Configuration menu
    Copy the full SHA
    370f9cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    16e38e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4fb2209 View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12898 from tangcong/add-disk-io-failure-case

    functional: add disk io failure case
    gyuho authored Apr 26, 2021
    Configuration menu
    Copy the full SHA
    c4f7d57 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Merge pull request etcd-io#12894 from MakDon/patch-1

    etcdserver/mvcc: update tw.trace.Step condition
    gyuho authored Apr 27, 2021
    Configuration menu
    Copy the full SHA
    06d6f09 View commit details
    Browse the repository at this point in the history
  2. sever: v2store deprecation: Fix etcdctl snapshot restore to restore

    correct 'backend' (bbolt) context in aspect of membership.
    
    Prior to this change the 'restored' backend used to still contain:
      - old memberid (mvcc deletion used, why the membership is in bolt
    bucket, but not mvcc part):
        ```
    	mvs := mvcc.NewStore(s.lg, be, lessor, ci, mvcc.StoreConfig{CompactionBatchLimit: math.MaxInt32})
    	defer mvs.Close()
    	txn := mvs.Write(traceutil.TODO())
    	btx := be.BatchTx()
    	del := func(k, v []byte) error {
    		txn.DeleteRange(k, nil)
    		return nil
    	}
    
    	// delete stored members from old cluster since using new members
    	btx.UnsafeForEach([]byte("members"), del)
        ```
      - didn't get new members added.
    ptabor committed Apr 27, 2021
    Configuration menu
    Copy the full SHA
    768da49 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aa65973 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7ae3d25 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4725567 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a70386a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0675219 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Merge pull request etcd-io#12820 from ptabor/20210326-membership-from-be

    (no)StoreV2 (Part 2): Prepare to read membership information from backend
    ptabor authored Apr 28, 2021
    Configuration menu
    Copy the full SHA
    d2722ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6f8f506 View commit details
    Browse the repository at this point in the history
  3. Verification package: Verified given data-dir.

    For now verifies whete Backend.cindex is consistent with WAL log,
    but should get expanded to cover memberships & revisions.
    ptabor committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    47b28b6 View commit details
    Browse the repository at this point in the history
  4. Integrate verification framework

    Verification framework is integrated with:
      - integration tests (by default)
      - `ETCD_VERIFY=all etcdctl snapshot restore` command
      - etcd shutdown when running with `ETCD_VERIFY=all` env.
    ptabor committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    c4b13a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7107cb9 View commit details
    Browse the repository at this point in the history
  6. Merge pull request etcd-io#12901 from ptabor/20210427-verification

    Verification of persisted data
    ptabor authored Apr 28, 2021
    Configuration menu
    Copy the full SHA
    ed4a87d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8d8d037 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    adc365e View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2021

  1. Fix ETCDCTL_API=2 etcdctl backup --with-v3 consistent index consist…

    …ency
    
    Prior to this CL, `ETCDCTL_API=2 etcdctl backup --with-v3` was readacting WAL log
    (by removal of some entries), but was NOT updating consistent_index in the backend.
    Also the WAL editing logic was buggy, as it didn't took in consideration the fact
    that when TERM changes, there can be entries with duplicated indexes in
    the log. So its NOT sufficient to subtract number of removed entries to
    get accurate log indexes.
    
    The PR replaces removing and shifting of WAL entries with replacing them with an no-op entries.
    Thanks to this consistent-index references are staying up to date.
    
    The PR also:
      - updates 'verification' logic to check whether consistent_index does not lag befor last snapshot
      - env-gated execution of verification framework in `etcdctl backup`.
    
    Tested with:
    ```
    (./build.sh && cd tests && EXPECT_DEBUG=TRUE 'env' 'go' 'test' '-timeout=300m' 'go.etcd.io/etcd/tests/v3/e2e' -run=TestCtlV2Backup --count=1000 2>&1 | tee TestCtlV2BackupV3.log)
    ```
    ptabor committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    911204c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ad893b View commit details
    Browse the repository at this point in the history
  3. Embed: In case KVStoreHash verification fails, close the backend.

    In case of failed verification, the server used to keep opened backend
    (so the file was locked on OS level).
    ptabor committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    f53b70f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e90504f View commit details
    Browse the repository at this point in the history
  5. server: replace mlockall with Mlock in --experimental-memory-mlock

    Implementation of `--experimental-memory-mlock` backed by `mlockall` syscall is replaced by `Mlock` flag (backed by mlock syscall) of bboltDB.
    wpedrak committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    927b3a3 View commit details
    Browse the repository at this point in the history
  6. server: replace mlockall with Mlock in --experimental-memory-mlock

    Implementation of `--experimental-memory-mlock` backed by `mlockall` syscall is replaced by `Mlock` flag (backed by mlock syscall) of bboltDB.
    wpedrak committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    1145c57 View commit details
    Browse the repository at this point in the history
  7. etcdctl/ctlv3: Cleanup keys on signal interrupt of check perf

    If ctc+c is pressed during the run of etcdctl check perf,
    this deletes all the previously created keys that perf check created.
    lilic committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    586b238 View commit details
    Browse the repository at this point in the history
  8. Clientv3 (retry) logs should use the configured logger.

    clientv3 logs (especially tests) were poluted with unattributed to testing.T log lines:
    
    ```
    {"level":"warn","ts":"2021-04-29T12:42:11.055+0200","logger":"etcd-client","caller":"v3/retry_interceptor.go:64","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc0000fafc0/#initially=[unix://localhost:m10]","attempt":0,"error":"rpc error: code = ResourceExhausted desc = etcdserver: mvcc: database space exceeded"}
    ```
    
    The reasons were 2 fold:
      - Interceptors were copying logger before "WithLogger" could modify it.
      - We were not propagating the loggers in a few testing contexts.
    ptabor committed Apr 29, 2021
    Configuration menu
    Copy the full SHA
    bc8d3f6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    205a1a4 View commit details
    Browse the repository at this point in the history
  10. Merge pull request etcd-io#12903 from lilic/exit-on-signal-int

    etcdctl/ctlv3: Cleanup keys on signal interrupt.
    ptabor authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    e908ef3 View commit details
    Browse the repository at this point in the history
  11. Merge pull request etcd-io#12906 from ptabor/20210429-etcdctl-v2-back…

    …up-cindex-fix
    
    20210429 etcdctl v2 backup cindex fix
    ptabor authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    835643e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ffea153 View commit details
    Browse the repository at this point in the history
  13. Merge pull request etcd-io#12904 from wpedrak/limit_mlocked_memory

    server: replace mlockall with `Mlock` in `--experimental-memory-mlock`
    ptabor authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    cedbea6 View commit details
    Browse the repository at this point in the history
  14. Merge pull request etcd-io#12908 from ptabor/20210429-client-retry-lo…

    …gging
    
    Clientv3 (retry interceptor) logs should use the configured logger
    ptabor authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    451f65d View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    3acf6e3 View commit details
    Browse the repository at this point in the history
  16. Merge pull request etcd-io#12910 from ptabor/20210430-zap-polish

    Finish migration zap.NewExample -> zaptest.NewLogger(t) in integration tests
    ptabor authored Apr 29, 2021
    Configuration menu
    Copy the full SHA
    c46e96d View commit details
    Browse the repository at this point in the history

Commits on May 3, 2021

  1. Configuration menu
    Copy the full SHA
    6623c00 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12916 from wpedrak/pass-mlock-during-defrag

    server: reapply `Mlock` flag after defrag
    gyuho authored May 3, 2021
    Configuration menu
    Copy the full SHA
    eb128d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5615421 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2021

  1. Merge pull request etcd-io#12914 from ptabor/20210430-read-membership

    No-storeV2: Read membership information from the backend (Part5)
    ptabor authored May 4, 2021
    Configuration menu
    Copy the full SHA
    a3fc535 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f11b16 View commit details
    Browse the repository at this point in the history
  3. Tests: Backend hooks support.

    ptabor committed May 4, 2021
    Configuration menu
    Copy the full SHA
    d53d2db View commit details
    Browse the repository at this point in the history
  4. Integrate backend::hooks with consistent_index.

    Every transaction committed to backend is writing most recent consistent_index.
    Makes sure that even automatically trigger commits of batch-transactions
    stays "really" consistent a.d. the most recent WAL log index applied.
    ptabor committed May 4, 2021
    Configuration menu
    Copy the full SHA
    5005167 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe3254a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2dbecea View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2fb6f0a View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a78d072 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f1123d6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    98083ea View commit details
    Browse the repository at this point in the history
  11. learner support snapshot RPC (etcd-io#12890)

    * learner support snapshot RPC
    
    * CHANGELOG: update for 12890
    tangcong authored May 4, 2021
    Configuration menu
    Copy the full SHA
    b32bc91 View commit details
    Browse the repository at this point in the history
  12. Set ETCD_UNSUPPORTED_ARCH to ARM64 (etcd-io#12557)

    Signed-off-by: odidev <odidev@puresoftware.com>
    odidev authored May 4, 2021
    Configuration menu
    Copy the full SHA
    7296a07 View commit details
    Browse the repository at this point in the history

Commits on May 5, 2021

  1. fix doc demo bug

    the service parameter not used.
    iflamed authored May 5, 2021
    Configuration menu
    Copy the full SHA
    a8a3eea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8af8f6a View commit details
    Browse the repository at this point in the history

Commits on May 6, 2021

  1. Merge pull request etcd-io#12896 from wilsonwang371/profiling-txn2

    server: make applier use ReadTx() in Txn() instead of ConcurrentReadTx()
    gyuho authored May 6, 2021
    Configuration menu
    Copy the full SHA
    344c9f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e818f21 View commit details
    Browse the repository at this point in the history

Commits on May 7, 2021

  1. Merge pull request etcd-io#12922 from serathius/actions

    Migrate PR testing from travis to GitHub actions
    ptabor authored May 7, 2021
    Configuration menu
    Copy the full SHA
    4f87333 View commit details
    Browse the repository at this point in the history
  2. server: add support for log rotation

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 7, 2021
    Configuration menu
    Copy the full SHA
    82b2d5c View commit details
    Browse the repository at this point in the history
  3. CHANGELOG: server: add support for log rotation etcd-io#12774

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 7, 2021
    Configuration menu
    Copy the full SHA
    f178677 View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12774 from hexfusion/add-log-rotate

    server: add support for log rotation
    hexfusion authored May 7, 2021
    Configuration menu
    Copy the full SHA
    6decbe1 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2021

  1. Merge pull request etcd-io#12855 from ptabor/20210409-backend-hooks

    (no)StoreV2 (Part 4): Backend hooks:  precommit updates consistency_index
    ptabor authored May 8, 2021
    Configuration menu
    Copy the full SHA
    aeb9b5f View commit details
    Browse the repository at this point in the history

Commits on May 9, 2021

  1. Configuration menu
    Copy the full SHA
    c3303d9 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2021

  1. Merge pull request etcd-io#12797 from lzhfromustc/3_23

    server/etcdmain and tests: Fix goroutine leaks
    ptabor authored May 10, 2021
    Configuration menu
    Copy the full SHA
    f571701 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12932 from vvdvortsova/12821-fix-req-maybe…

    …-nil
    
    embed: Added a check for a nil value of the request in ServeHTTP method
    ptabor authored May 10, 2021
    Configuration menu
    Copy the full SHA
    5f6f69c View commit details
    Browse the repository at this point in the history
  3. github action: add ARM64 test with README

    README for self-hosted-linux-arm64-graviton2-tests.yml
    
    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 10, 2021
    Configuration menu
    Copy the full SHA
    3a04b2b View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12928 from gyuho/github-worker-arm64

    github action: add ARM64 test
    gyuho authored May 10, 2021
    Configuration menu
    Copy the full SHA
    a8f38eb View commit details
    Browse the repository at this point in the history
  5. server/etcdmain: officially supports "arm64"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 10, 2021
    Configuration menu
    Copy the full SHA
    b9c000f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f1082ee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a718a9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3cdd242 View commit details
    Browse the repository at this point in the history
  9. Merge pull request etcd-io#12936 from serathius/pull_request

    Trigger unit test workflow on pull_requests
    ptabor authored May 10, 2021
    Configuration menu
    Copy the full SHA
    6bc125c View commit details
    Browse the repository at this point in the history
  10. github actions: Make github actions go1.16.3 tests blocking and remov…

    …e them from travis
    
    * Leave Go tip tests and coverage in travis as one is not yet supported
    serathius committed May 10, 2021
    Configuration menu
    Copy the full SHA
    da33b40 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5bad818 View commit details
    Browse the repository at this point in the history
  12. Deprecate V2 API: --enable-v2 and v2v3

    Flags `--experimental-enable-v2v3` and '-enable-v2' will raise a warning in 3.5,
    in 3.6 they are schedule for decomissioning, such that v2store can stop be written in 3.7.
    
    Deprecation plan in: etcd-io#12913
    ptabor committed May 10, 2021
    Configuration menu
    Copy the full SHA
    269f22c View commit details
    Browse the repository at this point in the history
  13. Merge pull request etcd-io#12940 from ptabor/20210510-v2-warnings

    Deprecate V2 API: --enable-v2 and --experimental-enable-v2v3 issue a warning
    ptabor authored May 10, 2021
    Configuration menu
    Copy the full SHA
    e892d6d View commit details
    Browse the repository at this point in the history
  14. Merge pull request etcd-io#12938 from serathius/test-go1.16.3

    github actions: Make github actions go1.16.3 tests blocking and remove them from travis
    ptabor authored May 10, 2021
    Configuration menu
    Copy the full SHA
    74d7d33 View commit details
    Browse the repository at this point in the history
  15. Run e2e tests with: EXPECT_DEBUG='true'

    The motivation is need to diagnose flakes like:
    https://semaphoreci.com/etcd-io/etcd/branches/pull-request-12940/builds/2.
    
    Now - when the logs are streamed through testing.T logger, the verbosity
    is not that significant concern.
    ptabor committed May 10, 2021
    Configuration menu
    Copy the full SHA
    04c9e8b View commit details
    Browse the repository at this point in the history
  16. Merge pull request etcd-io#12942 from ptabor/20210510-expect_debug_tr…

    …ue-for-e2e
    
    Run e2e tests with: EXPECT_DEBUG='true'
    ptabor authored May 10, 2021
    Configuration menu
    Copy the full SHA
    7ae55cf View commit details
    Browse the repository at this point in the history

Commits on May 11, 2021

  1. Configuration menu
    Copy the full SHA
    4bc1aa9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efc8505 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f48609a View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12946 from serathius/badge

    readme: Switch Travis CI test results badge to GitHub actions
    ptabor authored May 11, 2021
    Configuration menu
    Copy the full SHA
    450fd9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    70f7e0d View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Configuration menu
    Copy the full SHA
    68b1e9f View commit details
    Browse the repository at this point in the history
  2. CHANGELOG: update

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    270b60e View commit details
    Browse the repository at this point in the history
  3. Merge pull request etcd-io#12925 from yangxuanjia/yxjetcd_check_resuming

    check resuming len to avoid panic
    ptabor authored May 12, 2021
    Configuration menu
    Copy the full SHA
    3b24496 View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12947 from serathius/e2e

    github actions: Run e2e tests
    ptabor authored May 12, 2021
    Configuration menu
    Copy the full SHA
    980d70d View commit details
    Browse the repository at this point in the history
  5. Merge pull request etcd-io#12941 from serathius/defrag

    etcdserver: Implement running defrag if freeable space will exceed provided threshold (on boot)
    ptabor authored May 12, 2021
    Configuration menu
    Copy the full SHA
    e0a8484 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    06afe87 View commit details
    Browse the repository at this point in the history
  7. Merge pull request etcd-io#12948 from serathius/logger

    client: Allow setting zap logger in config
    ptabor authored May 12, 2021
    Configuration menu
    Copy the full SHA
    1929aa0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f908e42 View commit details
    Browse the repository at this point in the history
  9. Merge pull request etcd-io#12953 from serathius/e2e-split

    github actions: Move e2e to separate workflow and remove semaphoreci
    ptabor authored May 12, 2021
    Configuration menu
    Copy the full SHA
    7ba53c7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c868bb9 View commit details
    Browse the repository at this point in the history
  11. Merge pull request etcd-io#12952 from serathius/go1.16.4

    Swtich CI to use newest available 1.16 Go version
    ptabor authored May 12, 2021
    Configuration menu
    Copy the full SHA
    d982fe7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1189ee3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f3b4a3e View commit details
    Browse the repository at this point in the history
  14. Adding --v2-deprecation flag.

    ptabor committed May 12, 2021
    Configuration menu
    Copy the full SHA
    7c50874 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ead81df View commit details
    Browse the repository at this point in the history
  16. README: add badges for all github action workflows

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    6fdd82f View commit details
    Browse the repository at this point in the history
  17. Merge pull request etcd-io#12950 from gyuho/badge

    README: add badges for all github action workflows
    gyuho authored May 12, 2021
    Configuration menu
    Copy the full SHA
    57d9666 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    79e3d7b View commit details
    Browse the repository at this point in the history
  19. server: rename "master" branch references

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    77c8033 View commit details
    Browse the repository at this point in the history
  20. tests: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    19fcefa View commit details
    Browse the repository at this point in the history
  21. client: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    a8e1cf0 View commit details
    Browse the repository at this point in the history
  22. tools: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    6bab63e View commit details
    Browse the repository at this point in the history
  23. hack,scripts: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    3d4629c View commit details
    Browse the repository at this point in the history
  24. markdowns: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    5a0a1a4 View commit details
    Browse the repository at this point in the history
  25. .github: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    b6562a2 View commit details
    Browse the repository at this point in the history
  26. raft: rename "master" branch references to "main"

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 12, 2021
    Configuration menu
    Copy the full SHA
    cd6d730 View commit details
    Browse the repository at this point in the history
  27. doc: fix output flag format

    Add missing dash in the flag.
    spzala committed May 12, 2021
    Configuration menu
    Copy the full SHA
    5f76adf View commit details
    Browse the repository at this point in the history
  28. Merge pull request etcd-io#12957 from spzala/writeoutformat

    doc: fix output flag format
    gyuho authored May 12, 2021
    Configuration menu
    Copy the full SHA
    fbbf284 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Merge pull request etcd-io#12943 from ptabor/20210430-v2-deprecation-…

    …flags
    
    --v2-deprecation flag:  opt-in mode to validate that store-v2 has no user-content
    ptabor authored May 13, 2021
    Configuration menu
    Copy the full SHA
    178fb87 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12954 from serathius/logger-new-ctx-client

    client: Add logger argument to NewCtxClient
    ptabor authored May 13, 2021
    Configuration menu
    Copy the full SHA
    3cb1ba4 View commit details
    Browse the repository at this point in the history
  3. Save raftpb.ConfState in the backend.

    This makes (bbolt) backend a full feature snapshot in term of WAL/raft,
    i.e. carries:
      - commit : (applied_index)
      - confState
    
    Benefits:
      - Backend will be a sufficient point in time definition sufficient to
    start replaying WAL. We have applied_index & confState in consistent
    state.
      - In case of emergency a backend state can be used for recovery
    ptabor committed May 13, 2021
    Configuration menu
    Copy the full SHA
    865df75 View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12956 from gyuho/rename-to-main

    *: rename "master" branch references to "main" in source code
    gyuho authored May 13, 2021
    Configuration menu
    Copy the full SHA
    e2d67f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6ce7f74 View commit details
    Browse the repository at this point in the history
  6. Merge pull request etcd-io#12962 from ptabor/20210513-write-conf-state

    Save raftpb.ConfState in the backend.
    ptabor authored May 13, 2021
    Configuration menu
    Copy the full SHA
    e44fb40 View commit details
    Browse the repository at this point in the history
  7. Persists Term in the (bbolt) Backend.

    Additional layer of protection, that allows to validate whether we
    start replaying log not only from the proper 'index', but also of the
    right 'term'.
    ptabor committed May 13, 2021
    Configuration menu
    Copy the full SHA
    ab586cd View commit details
    Browse the repository at this point in the history

Commits on May 14, 2021

  1. Merge pull request etcd-io#12964 from ptabor/main

    Persists Term in the (bbolt) Backend
    ptabor authored May 14, 2021
    Configuration menu
    Copy the full SHA
    eae7a84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41ed748 View commit details
    Browse the repository at this point in the history
  3. Refactor common code from etcdctl (v2,v3) to pkg/corbautl.

    Preparation for etcdutl split.
    ptabor committed May 14, 2021
    Configuration menu
    Copy the full SHA
    00c6090 View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12969 from ptabor/20210514-etcdctl-step-by…

    …-step
    
    Refactor common code from etcdctl (v2,v3) to pkg/corbautl.
    gyuho authored May 14, 2021
    Configuration menu
    Copy the full SHA
    f2bc5ee View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5c2681 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    582d02e View commit details
    Browse the repository at this point in the history
  7. etcdproxy e2e tests should run in dedicated directories.

    So far all proxies were sharing the same (current) directory,
    leading to tests flakes, e.g. due to certificates being overriden
    in autoTLS mode.
    ptabor committed May 14, 2021
    Configuration menu
    Copy the full SHA
    c18010c View commit details
    Browse the repository at this point in the history
  8. Fix unit tests logging config.

    ptabor committed May 14, 2021
    Configuration menu
    Copy the full SHA
    8981afb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d8550de View commit details
    Browse the repository at this point in the history

Commits on May 15, 2021

  1. Merge pull request etcd-io#12965 from ptabor/20210513-flake-in-e2e-de…

    …bugging
    
    Fix flakes due to 'shared dir' in grpcproxy e2e tests
    ptabor authored May 15, 2021
    Configuration menu
    Copy the full SHA
    ddc4f47 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#12968 from serathius/logger-simplify

    server: Simplify passing logger setup by passing only logger
    ptabor authored May 15, 2021
    Configuration menu
    Copy the full SHA
    85341e0 View commit details
    Browse the repository at this point in the history
  3. Fixes to CI configs.

    - Moves grpcproxy & functional tests to a separate workflows such thay can get restarted independently.
    - Configures travis to run 1.16.3 go version (as travis cannot resolve 1.16 to the default).
    ptabor committed May 15, 2021
    Configuration menu
    Copy the full SHA
    27c7439 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a6be383 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2021

  1. Configuration menu
    Copy the full SHA
    3ed0cb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bca0717 View commit details
    Browse the repository at this point in the history
  3. Fix coverage tests

    2 problems:
      - spawnCmdWithLogger was not implemented (when built with 'cov' tag)
      - the logic was depending on relative paths. We change it to absolute
    to be able to run in the test-specific temporary directories.
    ptabor committed May 16, 2021
    Configuration menu
    Copy the full SHA
    13ef6fc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c7a7647 View commit details
    Browse the repository at this point in the history
  5. Fix coverage test failure: e2e TestIssue6361.

    Tested with:
    ```
    (cd tests && COVERDIR='../../c' 'env' 'go' 'test' '-tags=cov' '-timeout' '30m' 'go.etcd.io/etcd/tests/v3/e2e' -run TestIssue6361 -v 2>&1 | tee log.log)
    ```
    ptabor committed May 16, 2021
    Configuration menu
    Copy the full SHA
    099fd65 View commit details
    Browse the repository at this point in the history
  6. Merge pull request etcd-io#12976 from ptabor/20210516-fix-coverage

    Fix coverage tests
    ptabor authored May 16, 2021
    Configuration menu
    Copy the full SHA
    adcf580 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    549a0f6 View commit details
    Browse the repository at this point in the history
  8. Merge pull request etcd-io#12980 from aaronjheng/typo

    Fix typo in CHANGELOG
    ptabor authored May 16, 2021
    Configuration menu
    Copy the full SHA
    9501e8e View commit details
    Browse the repository at this point in the history
  9. Bring back original NewZapCoreLoggerBuilder api. (etcd-io#12973)

    The funcion signature has been changed in:
    eafbc8c .
    Instead we should have added new method `NewZapLoggerBuilder()`.
    ptabor authored May 16, 2021
    Configuration menu
    Copy the full SHA
    f82b5cb View commit details
    Browse the repository at this point in the history
  10. Fix release script: add go mod tidy

    Seems that additinal refresh of go.sum files is needed during the
    release process after editing the versions of modules.
    
    Discovered the problem while I was testing whether etcdutl is
    properly included in the target binaries using:
    
    ```
    DRY_RUN=true REPOSITORY=\`pwd\` BRANCH='branch-with-etcdutl' ./scripts/release 3.5.0-foobar.2
    ```
    ptabor committed May 16, 2021
    Configuration menu
    Copy the full SHA
    2712c78 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2021

  1. Merge pull request etcd-io#12981 from ptabor/20210516-fix-release-script

    Fix release script: add `go mod tidy` after go.mod changes
    ptabor authored May 17, 2021
    Configuration menu
    Copy the full SHA
    1675101 View commit details
    Browse the repository at this point in the history
  2. Split etcdctl into etcdctl (public API access) & etcdutl (direct surg…

    …ery on files)
    
    Motivation is as follows:
    
      - etcdctl we only depend on clientv3 APIs, no dependencies of bolt, backend, mvcc, file-layout
      - etcdctl can be officially supported across wide range of versions, while etcdutl is pretty specific to file format at particular version.
    it's step towards desired modules layout, documented in: https://etcd.io/docs/next/dev-internal/modules/
    ptabor committed May 17, 2021
    Configuration menu
    Copy the full SHA
    c09aca1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6a8ae8 View commit details
    Browse the repository at this point in the history
  4. Adding etcdutl test coverage.

    ptabor committed May 17, 2021
    Configuration menu
    Copy the full SHA
    d99d0df View commit details
    Browse the repository at this point in the history
  5. Updated changelog.

    ptabor committed May 17, 2021
    Configuration menu
    Copy the full SHA
    949c1c2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f7a038 View commit details
    Browse the repository at this point in the history
  7. Merge pull request etcd-io#12971 from ptabor/20210514-split-etcdctl

    Split etcdctl into etcdctl (public API access) & etcdutl (direct surgery on files)
    ptabor authored May 17, 2021
    Configuration menu
    Copy the full SHA
    932d42b View commit details
    Browse the repository at this point in the history
  8. *: Remove Changelog

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 17, 2021
    Configuration menu
    Copy the full SHA
    c49444d View commit details
    Browse the repository at this point in the history
  9. version: v3.5.0-beta.0

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 17, 2021
    Configuration menu
    Copy the full SHA
    cf54fab View commit details
    Browse the repository at this point in the history
  10. use v2 api to update cluster version

    chaochn47 authored and gyuho committed May 17, 2021
    Configuration menu
    Copy the full SHA
    2042d2a View commit details
    Browse the repository at this point in the history
  11. github/workflow: run arm64 tests for all branches startin from 3.5

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    gyuho committed May 17, 2021
    Configuration menu
    Copy the full SHA
    84d9187 View commit details
    Browse the repository at this point in the history
  12. Merge pull request etcd-io#12990 from gyuho/backport

    release-3.5: backport set version panic fix, ARM64 tests
    hexfusion authored May 17, 2021
    Configuration menu
    Copy the full SHA
    535a944 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. version: 3.5.0-beta.1

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 18, 2021
    Configuration menu
    Copy the full SHA
    e46bcb5 View commit details
    Browse the repository at this point in the history
  2. version: 3.5.0-beta.2

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 18, 2021
    Configuration menu
    Copy the full SHA
    1a8a063 View commit details
    Browse the repository at this point in the history
  3. scripts: add missing etcdutl to release pipeline

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 18, 2021
    Configuration menu
    Copy the full SHA
    d06c972 View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#12998 from hexfusion/cp-12997

    Manual cherry pick of etcd-io#12997
    hexfusion authored May 18, 2021
    Configuration menu
    Copy the full SHA
    163d9fd View commit details
    Browse the repository at this point in the history
  5. version: 3.5.0-beta.3

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 18, 2021
    Configuration menu
    Copy the full SHA
    379c361 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2021

  1. applyV2 should reapply on backend only once

    During review of:  etcd-io#12988 spotted
    that PUT is actially writing to v3-backend.
    If we are replaying WAL log, it might happened that backend's
    applied_index is > than the WAL's log entry. In such situation we should
    skip applying on backend V3.
    I think both the methods (setVersion, setMembersAttributes) are in
    practice idempotent so its not that 'serious' problem, but for
    formal correctness adding the proper checks.
    ptabor authored and gyuho committed May 19, 2021
    Configuration menu
    Copy the full SHA
    c4ebac0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#13003 from gyuho/cherry-pick

    [backport release-3.5] applyV2 should reapply on backend only once
    gyuho authored May 19, 2021
    Configuration menu
    Copy the full SHA
    c0d1450 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. server: set multiple concurrentReadTx instances share one txReadBuffer.

    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    wilsonwang371 authored and gyuho committed May 24, 2021
    Configuration menu
    Copy the full SHA
    7a7d6f9 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2021

  1. Merge pull request etcd-io#13036 from gyuho/cherry-pick

    [release-3.5] server: set multiple concurrentReadTx instances share one txReadBuffer.
    gyuho authored May 25, 2021
    Configuration menu
    Copy the full SHA
    dd22bd7 View commit details
    Browse the repository at this point in the history
  2. backend: set seq flag for each bucket buffer

    mlmhl authored and ptabor committed May 25, 2021
    Configuration menu
    Copy the full SHA
    261f8b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3b3228 View commit details
    Browse the repository at this point in the history
  4. Rename seq to bucket2seq.

    ptabor committed May 25, 2021
    Configuration menu
    Copy the full SHA
    8bddbdc View commit details
    Browse the repository at this point in the history
  5. Represent bucket as object instead of []byte name.

    Thanks to this change:
      - all the maps bucket -> buffer are indexed by int's instead of
    string. No need to do: byte[] -> string -> hash conversion on each
    access.
      - buckets are strongly typed in backend/mvcc API.
    ptabor committed May 25, 2021
    Configuration menu
    Copy the full SHA
    e6baf6d View commit details
    Browse the repository at this point in the history
  6. Merge pull request etcd-io#13037 from ptabor/cherry-picks-3.5

    Backport-3.5: seq reset + bucket as object
    gyuho authored May 25, 2021
    Configuration menu
    Copy the full SHA
    16214c3 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2021

  1. version: 3.5.0-beta.4

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed May 26, 2021
    Configuration menu
    Copy the full SHA
    b3f16d6 View commit details
    Browse the repository at this point in the history
  2. Expose clientv3.CreateDefaultZapLoggerConfig

    Need raised in
    kubernetes/kubernetes@f3f4259.
    
    BTW: Alligned the implementation of grpclogs with what we use in embed server, so reduced the client code dependencies.
    ptabor committed May 26, 2021
    Configuration menu
    Copy the full SHA
    4af7fc3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request etcd-io#13043 from ptabor/cherry-picks-3.5

    backport-3.5: Expose clientv3.CreateDefaultZapLoggerConfig
    gyuho authored May 26, 2021
    Configuration menu
    Copy the full SHA
    7b244ae View commit details
    Browse the repository at this point in the history

Commits on May 28, 2021

  1. Configuration menu
    Copy the full SHA
    3f13d3a View commit details
    Browse the repository at this point in the history

Commits on May 30, 2021

  1. Configuration menu
    Copy the full SHA
    6cd7c02 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. Configuration menu
    Copy the full SHA
    9a18742 View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#13064 from serathius/v3.5-limit

    Backport etcd-io#13060 to release-3.5
    ptabor authored Jun 1, 2021
    Configuration menu
    Copy the full SHA
    fea5ace View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. Update of dependencies:

      - zap-1.17.0
      - bbolt-1.3.6
      - grpc -1.38
      - github.com/coreos/go-systemd/v22 v22.3.2
      - github.com/google/btree v1.0.1
      - github.com/json-iterator/go v1.1.11
    ptabor committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    a5523be View commit details
    Browse the repository at this point in the history
  2. Merge pull request etcd-io#13079 from ptabor/20210604-deps-3.5

    backport-3.5: Update of dependencies:zap, bbolt, grpc, ...
    hexfusion authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    3a82198 View commit details
    Browse the repository at this point in the history
  3. server: skip unnecessary sprintf which executes proto.Size()

    (cherry picked from commit 11edc76)
    wilsonwang371 committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    4563ceb View commit details
    Browse the repository at this point in the history
  4. Merge pull request etcd-io#13081 from wilsonwang371/20210603-backport…

    …13075
    
    backport-3.5: server: skip unnecessary sprintf which executes proto.Size()
    gyuho authored Jun 3, 2021
    Configuration menu
    Copy the full SHA
    a6b37e2 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. version: 3.5.0-rc.0

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    ab20aa2 View commit details
    Browse the repository at this point in the history
  2. etcdserver: don't activate alarm w/missing AlarmType

    Narrowly prevent etcd from crashing when given a bad ACTIVATE payload, e.g.:
    
    $ curl -d "{\"action\":\"ACTIVATE\"}" ${ETCD}/v3/maintenance/alarm
    curl: (52) Empty reply from server
    dlowe authored and gyuho committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    ae194c1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request etcd-io#13085 from gyuho/c

    [backport 3.5] etcdserver: don't activate alarm w/missing AlarmType
    gyuho authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    abe57c1 View commit details
    Browse the repository at this point in the history
  4. etcdserver: don't attempt to grant nil permission to a role

    Prevent etcd from crashing when given a bad grant payload, e.g.:
    
    $ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/add
    {"header":{"cluster_id":"14841639068965178418", ...
    $ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/grant
    curl: (52) Empty reply from server
    
    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    dlowe authored and gyuho committed Jun 4, 2021
    Configuration menu
    Copy the full SHA
    e27effa View commit details
    Browse the repository at this point in the history
  5. Merge pull request etcd-io#13088 from gyuho/c

    [backport 3.5] etcdserver: don't attempt to grant nil permission to a role
    gyuho authored Jun 4, 2021
    Configuration menu
    Copy the full SHA
    e721e4e View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Configuration menu
    Copy the full SHA
    9fee8bf View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2021

  1. Merge pull request etcd-io#13092 from lilic/bump-client-golang-3.5

    [release-3.5]: Update client_golang dependency to v1.11.0
    hexfusion authored Jun 8, 2021
    Configuration menu
    Copy the full SHA
    b327edf View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. [Fix]滚动日志路径解析不正确

    例如  rotate:test.log 路径解析不正确
    mumuhhh authored and hexfusion committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    fed3bc3 View commit details
    Browse the repository at this point in the history
  2. TestLogRotation add log output relative path

    TestLogRotation add test log output relative path test
    mumuhhh authored and hexfusion committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    98bbc01 View commit details
    Browse the repository at this point in the history
  3. Merge pull request etcd-io#13095 from hexfusion/cp-13049

    [release-3.5]: [Fix] --log-outputs relative path are not supported when --log-rotate-config-json is defined
    hexfusion authored Jun 9, 2021
    Configuration menu
    Copy the full SHA
    5d52fae View commit details
    Browse the repository at this point in the history
  4. version: 3.5.0-rc.1

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    8139dd3 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. embed: unlimit the recv msg size of grpc-gateway

    Ensure the client which access etcd via grpc-gateway won't
    be limited by the MaxCallRecvMsgSize. Here we choose the same
    default value of etcdcli as grpc-gateway's MaxCallRecvMsgSize.
    
    Fix etcd-io#12576
    spacewander authored and simotang committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    53e04b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. Merge pull request etcd-io#13099 from tangcong/automated-cherry-pick-…

    …of-#13077-origin-release-3.5
    
    [backport 3.5] embed: unlimit the recv msg size of grpc-gateway
    hexfusion authored Jun 11, 2021
    Configuration menu
    Copy the full SHA
    1e2cab9 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2021

  1. version: 3.5.0

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    946a5a6 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. UPSTREAM: <drop>: *: add support for socket options

    This reverts commit 0e41f96.
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    6666e63 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ead911 View commit details
    Browse the repository at this point in the history
  3. UPSTREAM: <drop>: *: log server-side /health checks

    This reverts commit 903967e.
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    224439f View commit details
    Browse the repository at this point in the history
  4. UPSTREAM: <drop>: vendor: update bbolt v1.3.4, zap v1.14.1

    This reverts commit c8d83c0.
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    9ad3398 View commit details
    Browse the repository at this point in the history
  5. Merge tag 'v3.5.0' into etcd-rebase-v3.5.0

    v3.5.0
    
    Because of the large structural transition that happened from 3.4 to 3.5
    the decision was made to use a merge.
    
    git merge --strategy-option theirs v3.5.0
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    065e621 View commit details
    Browse the repository at this point in the history
  6. UPSTREAM: <carry>: Remove explicit authStore->ConsistencyIndex update…

    …s, as they are taken care by hook.
    
    missing after 3.5.0 merge
    ptabor authored and hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    eb2814a View commit details
    Browse the repository at this point in the history
  7. UPSTREAM: <carry>: Represent bucket as object instead of []byte name.

    missing after merge of v3.5.0 tag
    
    Thanks to this change:
      - all the maps bucket -> buffer are indexed by int's instead of
    string. No need to do: byte[] -> string -> hash conversion on each
    access.
      - buckets are strongly typed in backend/mvcc API.
    ptabor authored and hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f1f3e6b View commit details
    Browse the repository at this point in the history
  8. UPSTREAM: <carry>: etcdserver: don't attempt to grant nil permission …

    …to a role
    
    Missing after v3.5.0 tag merge
    
    Prevent etcd from crashing when given a bad grant payload, e.g.:
    
    $ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/add
    {"header":{"cluster_id":"14841639068965178418", ...
    $ curl -d '{"name": "foo"}' http://localhost:2379/v3/auth/role/grant
    curl: (52) Empty reply from server
    
    Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
    dlowe authored and hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    01d81ff View commit details
    Browse the repository at this point in the history
  9. UPSTREAM: <carry>: cleanup dangling diff after 3.5 merge

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    9722ae9 View commit details
    Browse the repository at this point in the history
  10. DOWNSTREAM: <carry>: version: openshift-v4.0

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    1d432f8 View commit details
    Browse the repository at this point in the history
  11. DOWNSTREAM: <carry>: Dockerfile: add etcdctl

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    76014a7 View commit details
    Browse the repository at this point in the history
  12. DOWNSTREAM: <carry>: Dockerfile.*: Fix "etcd is distributed" -> "etcd…

    … is a distributed"
    
    Correcting a typo from 2f10964 (version: openshift-v4.0, 2018-11-29).
    wking authored and hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    ea8ff30 View commit details
    Browse the repository at this point in the history
  13. DOWNSTREAM: <carry> Dockerfile: resolve issue where binary was not pr…

    …operly copied from build.
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    1cbb393 View commit details
    Browse the repository at this point in the history
  14. DOWNSTREAM: <carry>: OWNERS: add

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    317c6c7 View commit details
    Browse the repository at this point in the history
  15. DOWNSTREAM: <carry> Dockerfile: set coreos org as canonical for relea…

    …se-3.3
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    d59b577 View commit details
    Browse the repository at this point in the history
  16. DOWNSTREAM: <carry>: Dockerfile: use build instead of make build

    make build performs a sanity test on the binary image which causes problems for unsupport arch. Because we run full CI tests against the image this check is not nessisary and will allow images to be build regardless of arch.
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    9f3e71f View commit details
    Browse the repository at this point in the history
  17. DOWNSTREAM: <carry>: Dockerfile: bump golang 1.12

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    69897d1 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    5e06516 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    7851b15 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    9a6483f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    9fc568e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    3cb509f View commit details
    Browse the repository at this point in the history
  23. DOWNSTREAM: <carry>: If we weren't able to get client or get target m…

    …ember but memberDir exists, go ahead and start.
    retroflexer authored and hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    c6d2af6 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    dc333e5 View commit details
    Browse the repository at this point in the history
  25. DOWNSTREAM: <carry>: *: migrate openshift assets to new etcd org

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    6d78a3d View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    75d596b View commit details
    Browse the repository at this point in the history
  27. DOWNSTREAM: <carry>: discover-etcd-initial-cluster: improve error han…

    …dling when we dont scale member
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    bbce548 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    87b0828 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    947072e View commit details
    Browse the repository at this point in the history
  30. DOWNSTREAM: <carry>: OWNERS: add component

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    aeeab6d View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    39a87ae View commit details
    Browse the repository at this point in the history
  32. DOWNSTREAM: <carry>: openshift-tools: fix on off flow and add unit tests

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    5042ee5 View commit details
    Browse the repository at this point in the history
  33. DOWNSTREAM: <carry>: discover-etcd-initial-cluster: retry if member i…

    …s not part of member list and dataDir exists
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    b1b1ca0 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    1c88280 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    6c62e00 View commit details
    Browse the repository at this point in the history
  36. DOWNSTREAM: <carry>: build v3/discover-etcd-initial-cluster

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    33b3996 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. UPSTREAM: <drop>: pkg, clientv3, etcdmain: let grpcproxy rise an erro…

    …r when its cert has non empty CN
    
    CARRY:
    
    This patch is required to allow metrics cert to auth with CN in cert.
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    d465f2a View commit details
    Browse the repository at this point in the history
  2. UPSTREAM: <drop>: *: make MemberList linearizable

    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Jul 29, 2021
    Configuration menu
    Copy the full SHA
    45d62a2 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2021

  1. DOWNSTREAM: <carry>: discover-etcd-initial-cluster: replace integrati…

    …on tests with unit
    
    etcd 3.5 will not allow integration tests to run outside of test/integration. This change breaks out the logic into a more testable path allowing coverage and not requiring breaking out discover-etcd-initial-cluster into a seperate module yet.
    
    Signed-off-by: Sam Batschelet <sbatsche@redhat.com>
    hexfusion committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    b37890a View commit details
    Browse the repository at this point in the history