Commit Graph

  • 13cb77854d Fix a syntax error in a code comment L2ncE 2022-06-15 16:45:13 +08:00
  • 133f9a3b57 Revert "Fix a syntax error in a code comment" L2ncE 2022-06-15 16:44:25 +08:00
  • 812c90e95b Fix a syntax error in a code comment L2ncE 2022-06-15 16:38:53 +08:00
  • da41518598 etcdserver: special apply for readonly transactions Bogdan Kanivets 2022-06-14 11:14:52 -07:00
  • 5bc43906fe Add e2e test case to cover leaseV2Renew and leaseV3Renew Benjamin Wang 2022-06-10 15:38:37 +08:00
  • c533cefdfc Add a new flag --experimental-enable-lease-v2-renew to enable or disable the legacy renew Benjamin Wang 2022-06-10 14:33:49 +08:00
  • 689a2d16fa lease: process renew request via raft Benjamin Wang 2022-06-07 09:49:40 +08:00
  • 909efa9907 lease: add a lease_new request into raft_internal.proto Benjamin Wang 2022-06-07 09:38:13 +08:00
  • 71bba3c761
    Merge pull request #14106 from SimFG/remove_case Marek Siarkowicz 2022-06-14 12:13:00 +02:00
  • 402188a98c wal: remove the repeated test case SimFG 2022-06-13 11:30:49 +08:00
  • 2c12954158
    Merge pull request #14049 from serathius/compact-hash Marek Siarkowicz 2022-06-14 11:10:19 +02:00
  • 5e1dcfdaee feat: support custom grpc.MaxConcurrentStreams 杨金珏 2022-05-30 17:03:27 +08:00
  • 9612fc1194 tests: Unify TestCompactionHash and extend it to also Delete keys and Defrag Marek Siarkowicz 2022-06-08 14:55:53 +02:00
  • f5eadf5452 tests: Add tests for HashByRev HTTP API Marek Siarkowicz 2022-06-07 17:08:03 +02:00
  • 1581eef888 tests: Add integration tests for compact hash Marek Siarkowicz 2022-06-07 16:11:57 +02:00
  • 0e739da9a4 server: Cache compaction hash for HashByRev API Marek Siarkowicz 2022-06-07 15:11:57 +02:00
  • 2b090e86a6 server: Extract hasher to separate interface Marek Siarkowicz 2022-05-19 17:33:58 +02:00
  • 80828b593a server: Remove duplicated compaction revision Marek Siarkowicz 2022-05-19 17:19:55 +02:00
  • 34a02ba621 server: Return revision range that hash was calcualted for Marek Siarkowicz 2022-05-19 16:07:35 +02:00
  • 76d3c527ae server: Store real rv range in hasher Marek Siarkowicz 2022-05-19 14:13:54 +02:00
  • 8f7b053480 server: Move adjusting revision to hasher Marek Siarkowicz 2022-05-19 14:10:36 +02:00
  • 19941654fe server: Pass revision as int Marek Siarkowicz 2022-05-19 14:08:52 +02:00
  • 887e53e61a server: Calculate hash during compaction Marek Siarkowicz 2022-05-19 12:16:52 +02:00
  • 7381c81a7e server: Fix range in mock not returning same number of keys and values Marek Siarkowicz 2022-05-19 12:16:52 +02:00
  • 08a43178fa server: Move reading KV index inside scheduleCompaction function Marek Siarkowicz 2022-05-19 10:22:46 +02:00
  • 638ca1006a server: Return error from scheduleCompaction Marek Siarkowicz 2022-05-18 13:08:45 +02:00
  • 0f90359c4b server: Refactor hasher Marek Siarkowicz 2022-05-19 13:10:17 +02:00
  • e62c358793 server: Extract kvHash struct Marek Siarkowicz 2022-05-17 15:11:32 +02:00
  • fcaf76dbca server: Move unsafeHashByRev to new hash.go file Marek Siarkowicz 2022-05-17 13:56:36 +02:00
  • 0984878ae7 server: Extract unsafeHashByRev function Marek Siarkowicz 2022-05-17 13:45:18 +02:00
  • 39c6935c65 server: Test HashByRev values to make sure they don't change Marek Siarkowicz 2022-05-19 13:52:08 +02:00
  • 01e85be159 server: Cover corruptionMonitor with tests Marek Siarkowicz 2022-06-13 15:42:25 +02:00
  • 7c35dadc25 server: Extract corruption detection to dedicated struct Marek Siarkowicz 2022-06-13 14:20:07 +02:00
  • 70fbc0b3e7 server: Extract triggerCorruptAlarm to function Marek Siarkowicz 2022-06-13 13:56:52 +02:00
  • fc690531e2
    Merge pull request #14108 from serathius/tracked Marek Siarkowicz 2022-06-13 13:03:41 +02:00
  • bce22b587c Use single "stage/tracked" label to prevent issue from getting stale Marek Siarkowicz 2022-06-13 10:32:12 +02:00
  • 4ce7a85188
    Merge pull request #14097 from patrocinio/buildtools Marek Siarkowicz 2022-06-13 10:55:54 +02:00
  • 4592af25ba
    Merge pull request #14107 from ahrtr/version_refactor_20220613 Marek Siarkowicz 2022-06-13 10:31:46 +02:00
  • 5f8cd5bd39 Replace all etcd versions with the centralized definitions Benjamin Wang 2022-06-13 14:01:21 +08:00
  • 4f202a6429 Define all versions in a centralized place Benjamin Wang 2022-06-13 13:17:18 +08:00
  • 7cd3ff67d3 Merge branch 'main' of github.com:secsys-go/etcd into main secsys-go 2022-06-13 12:51:59 +08:00
  • dc559c1797 pkg/ioutil: Add check for pageBytes in NewPatewriter with verify.Assert secsys-go 2022-05-09 13:17:24 +08:00
  • 144f445838
    Merge pull request #13747 from kkkkun/add-flag-for-del Benjamin Wang 2022-06-13 08:22:50 +08:00
  • 5a93b087a6 Separate the build library functions and add a top level tools script Eduardo Patrocinio 2022-06-10 11:19:05 -04:00
  • 4b41f74ff8
    Merge pull request #14103 from ahrtr/update_changelog_3.5.0 Marek Siarkowicz 2022-06-10 11:10:59 +02:00
  • a7aca4a7a2 update 3.5 changelog to add the --experimental-bootstrap-defrag-threshold-megabytes flag Benjamin Wang 2022-06-10 06:51:02 +08:00
  • 31cd4e7c2d
    Merge pull request #14084 from SimFG/mvcc-range-since Marek Siarkowicz 2022-06-09 15:39:18 +02:00
  • b295cebc05 mvcc: improve the use of locks in index.go SimFG 2022-06-01 17:48:13 +08:00
  • 05e4a5ad23
    Merge pull request #14101 from serathius/fix-merge Benjamin Wang 2022-06-09 20:25:27 +08:00
  • 72a84ddbcf server: Fix broken code during merge Marek Siarkowicz 2022-06-09 13:34:33 +02:00
  • 5a7df03592
    Merge pull request #14080 from ahrtr/lease_revoke_lock Benjamin Wang 2022-06-09 16:52:36 +08:00
  • d9e5460ca8
    Merge pull request #13829 from qsyqian/feature/skip_compact_when_rev_not_change Sahdev Zala 2022-06-08 22:54:39 -04:00
  • 29b964df25
    Merge pull request #14099 from Dirc/main Benjamin Wang 2022-06-08 16:46:16 +08:00
  • ba405f64c1
    Update link to tuning page Dirc 2022-06-08 10:16:04 +02:00
  • e1fd5b1c35
    Merge pull request #14095 from ahrtr/fix_raftexample_test_error Benjamin Wang 2022-06-08 05:19:12 +08:00
  • 73766a92fb Update build file to run with an argument Eduardo Patrocinio 2022-06-07 11:30:14 -04:00
  • 8ad87be7a6 fix the DATA RACE issue of TestCloseProposerInflight Benjamin Wang 2022-06-07 18:59:00 +08:00
  • dabf6978cc Fix potential deadlock between Revoke and (Grant or Checkpoint) ahrtr 2022-05-29 15:08:59 +08:00
  • 50d93ebea1
    Merge pull request #14088 from ahrtr/3.5_changelog_revoke_lease_race Marek Siarkowicz 2022-06-07 11:32:05 +02:00
  • 0be65da6cc
    Merge pull request #14087 from ahrtr/lease_revoke_race Marek Siarkowicz 2022-06-06 16:58:04 +02:00
  • e3f11d58b4 Backport-3.4 etcdserver/util.go: reduce memory when logging range requests Chao Chen 2021-04-22 15:07:41 -07:00
  • 800d3ec3ca update 3.5 changelog to cover the two bug fix related to leases revoke and checkpoint Benjamin Wang 2022-06-04 14:12:57 +08:00
  • acb1ee993a Backport two lease related bug fixes to 3.5 Benjamin Wang 2022-06-04 14:01:08 +08:00
  • b8e5ba6065 typo: fix iff to if in comments Kaijie Chen 2022-06-02 00:07:47 +08:00
  • 08f4c340eb
    Merge pull request #14078 from ahrtr/checkpoint_reset Benjamin Wang 2022-05-31 07:56:53 +08:00
  • c2c9e7de01
    Merge pull request #14075 from lavacat/release-3.4-go1.15.15-tests Benjamin Wang 2022-05-31 05:52:21 +08:00
  • ceed023f7c tests: fixing dependencies that brake tests in go.1.15.15 Bogdan Kanivets 2022-05-26 10:59:02 -07:00
  • 1d482bfc08 Move the local variable cps into the loop so that it will not continue to schedule checkpoints after it steps down the leader ahrtr 2022-05-27 16:42:16 +08:00
  • ce77d83ee6
    Merge pull request #14067 from ahrtr/lease_revoke Benjamin Wang 2022-05-29 05:04:26 +08:00
  • 2d6aadec24
    Merge pull request #14079 from ahrtr/split_lease Benjamin Wang 2022-05-29 05:02:59 +08:00
  • 6e9397d171 move lease related code into a separate file lease.go ahrtr 2022-05-27 20:22:29 +08:00
  • a3f3cedabc clientv3: Fixed clientv3.Config DialTimeout usage zhongjiajia 2022-05-27 02:26:50 +08:00
  • 25deb436af fix the race condition between goroutine and channel on the same leases to be revoked ahrtr 2022-05-24 10:37:35 +08:00
  • 908faa44c4
    Merge pull request #14069 from ahrtr/update_3.5_changelog_migrate Marek Siarkowicz 2022-05-25 10:36:45 +02:00
  • 42797d88ec update changelog-3.5 to correct the entry for decommissioning etcdctl migrate command ahrtr 2022-05-25 05:47:40 +08:00
  • 9bbbd15d48
    Merge branch 'etcd-io:main' into main secsys-go 2022-05-23 16:02:20 +08:00
  • c3bc4116dc
    Merge pull request #14063 from ahrtr/ignore_etcd_tool_binaries Benjamin Wang 2022-05-22 19:19:35 +08:00
  • 1ded8019dd etcd server shouldn't wait for the ready notification infinitely on startup ahrtr 2022-05-22 15:07:00 +08:00
  • e054a6146f feat(pkg/ioutil): verify.Assert is introduced into NewPageWritter secsys-go 2022-05-22 10:17:40 +08:00
  • 6b7d1c8623
    Merge branch 'etcd-io:main' into main secsys-go 2022-05-22 10:09:25 +08:00
  • c75bdef4d2 add etcd tool binaries into .gitignore ahrtr 2022-05-21 06:47:24 +08:00
  • 8093fc90ab
    Merge pull request #14060 from spongecaptain/patch-1 Benjamin Wang 2022-05-21 06:26:24 +08:00
  • 9bb134233a
    Merge pull request #13878 from ptabor/20220403-applier-clean Piotr Tabor 2022-05-20 18:07:51 +02:00
  • 1988324b12
    Merge pull request #14053 from spzala/governanceupdate Sahdev Zala 2022-05-20 12:06:23 -04:00
  • 534d7b4795
    use go install instead of go get wjjiang 2022-05-20 23:45:14 +08:00
  • 2a4cc5e35c wal: removes entry size limit Gianluca Mezzetti 2022-05-20 15:36:05 +02:00
  • 41ff2370e9 Remove unused code and apply code-quality suggestions. Piotr Tabor 2022-05-20 14:42:39 +02:00
  • 85b18c9b3e Rename WrapApply to Apply. Piotr Tabor 2022-05-13 14:18:28 +02:00
  • 87b80f16ca Fixing missing comment on the dispatch() function. Piotr Tabor 2022-05-13 13:42:09 +02:00
  • 42c6e08f22 Rename the txn, so as not to be the same as the package name. Piotr Tabor 2022-04-28 16:56:23 +02:00
  • 0da0cf4795 expose UberApplier as interface (not as implementation struct). Piotr Tabor 2022-04-28 16:51:34 +02:00
  • 5097b33ab9 Rename etcdserver/etcderrors package to etcdserver/errors. Piotr Tabor 2022-05-06 13:42:02 +02:00
  • 63b2f63cc1 Rename package alising "apply2" -> apply. Piotr Tabor 2022-05-05 10:48:26 +02:00
  • c62f01e5fe Move CheckTxnAuth to txn. Piotr Tabor 2022-04-05 10:06:35 +02:00
  • c78bf655a7 Simplify imports and improve comments. Piotr Tabor 2022-04-04 20:33:46 +02:00
  • 4e04770bac Apply encapsulation: Cleanup metrics reporting. Piotr Tabor 2022-04-04 20:41:11 +02:00
  • 47a771871b Move apply to its own package (no dependency on etcdserver). Piotr Tabor 2022-04-22 12:38:41 +02:00
  • fc6a6c3c27 Move etcdserver/errors.go to sepatate package to avoid cyclic dependencies. Piotr Tabor 2022-05-13 13:34:23 +02:00
  • e2ae9b1d13 Move server/etcdserver/txn.go to new package: server/etcdserver/txn Piotr Tabor 2022-04-03 23:29:26 +02:00
  • b073129d03 Applier does not depend on EtcdServer any longer. Piotr Tabor 2022-04-03 23:01:08 +02:00