Commit Graph

166 Commits

Author SHA1 Message Date
dependabot[bot]
ccb5a9bd6b
Bump github.com/gogo/protobuf from 1.3.1 to 1.3.2 (#382)
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: github.com/gogo/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Connor <zbk602423539@gmail.com>
2022-07-14 08:59:00 +00:00
ZYFZYF
5c800faefd
load snapshot meta again when the snapshot exists, make sure snapshot is not nil (#404)
* make every store really have a different dbPath

Co-authored-by: Connor <zbk602423539@gmail.com>
2022-07-14 06:05:26 +00:00
ZYFZYF
d732002724
add TestConfChangeRemoveLeader3B (#405)
* add TestConfChangeRemoveLeader3B
2022-07-13 08:25:43 +00:00
vince.wu
6ecddc7f00
ut: add TestRestoreFromSnapWithOverlapingPeersMsg2C (#408) 2022-07-13 14:30:03 +08:00
ZYFZYF
e7de6af1d4
fix two typos (#406)
* fix two typos

Co-authored-by: Connor <zbk602423539@gmail.com>
2022-07-06 11:28:33 +00:00
Spade A
be014c2aee
log: make log level case insensitive (#407)
Signed-off-by: SpadeA-Tang <u6748471@anu.edu.au>
2022-07-06 09:41:23 +00:00
Whorra
28f12587cb
Fix range in clearExtraData (#278)
* Fix range in clearExtraData
2022-07-06 05:09:40 +00:00
LuoJi Zhu
d975005666
fix: handle nil *badger.DB in *Engines.Close (#398)
Co-authored-by: Connor <zbk602423539@gmail.com>
2022-07-06 12:37:25 +08:00
Moonm3n
dae8650e3b
fix(kv/config): set SchedulerHeartbeatTickInterval to ten seconds (#394)
Co-authored-by: Connor <zbk602423539@gmail.com>
2022-06-30 06:56:54 +00:00
xhnhill
a18721123f
Fix typo in TestLogReplication2AB (#402) 2022-06-30 04:36:47 +00:00
Shuyang Wu
5647091ed4
chore: fix test string assert (#392)
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2022-06-30 04:28:35 +00:00
LuoJi Zhu
89bed97031
fix typo (#397) 2022-06-20 11:57:26 +08:00
woolen-sheep
856e7a1939
fix(kv): typo in comment (#396) 2022-06-13 06:53:58 +00:00
理工男
9d03198268
Update analyze.go (#391)
Copyright is duplicated
2022-04-20 09:36:49 +00:00
guapi
98a65f4d63
fix nil pointer dereference in scheduler.go (#388) 2022-04-15 11:57:29 +00:00
Jack
c083988b20
Fix comment (#387) 2022-04-08 06:04:18 +00:00
zhangpc
75427f5736
Update project2-RaftKV.md (#386)
fix SaveRaftState() which is not exist  to SaveReadyState()
2022-04-07 10:28:26 +00:00
Obliviate
f050d8c1bd
fix: sigpanic of the old badger version (#380) 2022-02-25 08:59:29 +00:00
Potato
4a2f3995e5
fix (#373) 2022-01-29 15:35:46 +08:00
Connor
6cf55ec3a4
Fix dead link (#376) 2022-01-28 14:21:48 +08:00
JLDataKu
543f3340df
fix typo (#362)
* fix typo
2022-01-11 17:38:37 +08:00
unconsolable
0c877a71bc
proto: replace retool by go mod (#359) 2022-01-11 12:11:13 +08:00
MichaelDeSteven
54a92ea427
fix typo (#363) 2022-01-11 11:31:44 +08:00
unconsolable
348994cf68
scheduler: replace retool by go mod (#369) 2022-01-11 11:22:46 +08:00
Weny Xu
35bbb17885
chore(Makefile): run project 2c tests separately (#364) 2022-01-05 13:06:11 +08:00
charstal
7aa7a2099c
Auto temp file delete (#340)
* auto delete tmp file
2021-12-22 09:32:57 +00:00
oocococo
db489b317f
fix a log issue (#356) 2021-12-22 16:39:15 +08:00
MichaelDeSteven
556640a39e
fix: TestPersistPartitionUnreliable2B annotation (#343) 2021-12-22 04:30:02 +00:00
Smith Cruise
a2b934b71a
fix typo (#355)
Co-authored-by: Connor <zbk602423539@gmail.com>
2021-12-22 04:28:06 +00:00
Weny Xu
8b8fdd5adf
feat(kv/config): support to customize log level via env (#324)
* feat(kv/config): support to customize log level via env

Author:    Weny Xu <wenymedia@gmail.com>
Date:      Sat Nov 27 10:37:00 2021 +0900
2021-12-22 03:58:33 +00:00
Smith Cruise
b82206ff30
Add empty lock test in 4A (#347)
* Add empty lock test in 4A
2021-12-22 03:19:36 +00:00
Jiarui Li
dccddfae90
refactor(raft_test): use consistent output format for TestProposal2AB (#348) 2021-12-21 03:14:47 +00:00
JLDataKu
9e55d89617
fix typo in doc/project2-RaftKV.md (#335)
* fix typo
2021-12-21 03:11:37 +00:00
Jiarui Li
c82fd58ed8
refactor(raft_storage): remove dead code (#351) 2021-12-20 14:17:36 +00:00
h3n4l
90e2dfaffa
fix: fix the comment in msg.go (#352)
Co-authored-by: Connor <zbk602423539@gmail.com>
2021-12-20 08:01:44 +00:00
Jiarui Li
43e37c16f7
fix(raftstore): fix typo (#354) 2021-12-20 15:59:35 +08:00
李素晴
e4cdc05319
fix: misspelled words (#342) 2021-12-13 11:07:05 +08:00
oocococo
3712dea6b9
fix a typo, to make p2c guideline more readable (#331)
* fix typo
2021-12-06 14:17:03 +08:00
oocococo
94f6fc45ab
fix(raft): LogTerm exceed Term (#323)
LogTerm should always be smaller than Term in AppendMsg

fix #322
2021-11-29 13:54:37 +08:00
YLC
98138e859e
fix typo (#316) 2021-11-24 14:26:59 +08:00
Zhenhua Yang
aefad168f6
add hints for TestLeaderSyncFollowerLog2AB (#302)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-11-23 19:07:16 +08:00
Vincil Lau
de31fb1e51
fix typo in raft/raft_test.go (#314) 2021-11-19 13:38:42 +08:00
nothatDinger
07d420b75e
Update bootstrap.go (#309)
fix typos
2021-11-18 11:53:29 +08:00
dengtianhei
d6bc38004a
Update rawnode.go (#301)
fix typo.
2021-11-10 17:27:06 +08:00
unconsolable
556518011f
raft: keep leader term consistent with log entries (#299)
* raft: keep leader term consistent with log entries

Signed-off-by: unconsolable <chenzhipeng2012@gmail.com>

* Set leader's term to be greater than/equal to follower

Co-authored-by: NingLin-P <linning@pingcap.com>

Co-authored-by: NingLin-P <linning@pingcap.com>
2021-11-02 16:40:18 +08:00
Zhenhua Yang
08ded5e967
Change handler location in project1-StandaloneKV.md (#296) 2021-10-03 22:53:49 +08:00
Xiang Zhang
f959edc4c0
fix ValidForPrefix wrong arguments order (#293) 2021-09-23 13:09:24 +08:00
Isaac
cb5fba6ea7
put two test in 2AB (#294) 2021-09-21 14:16:14 +08:00
ZhaolongLi
802b1880d5
fix redundant output (#290)
Co-authored-by: NingLin-P <linningde25@gmail.com>
2021-09-13 15:09:25 +08:00
tison
ec7131ba7d
README: rewrite (#279) 2021-09-13 12:48:29 +08:00