Hongyu Yang
b3bb260d27
Correct the test cases to prevent the TestCommitMissingPrewrite4B case from not being tested. ( #459 )
2024-10-11 19:55:00 +08:00
Elephas
1338f1b099
fix(to issue#455): fix a typo ( #456 )
...
I am recently debugging at 3B. And when I am reading the Destroy function at file kv/raftstore/peer.go, I found that there is a comment "write kv rocksdb first in case of restart happen between two write".
The previous lab in tinykv seems never mention about rocksdb, while the TiKV mentioned. So I think there is a typo, and this comment should be modified to "write kv badgerDB first in case of restart happen between two write".
2024-03-15 02:04:49 +00:00
ajian
86a0b62a6c
fix ci error ( #445 )
2023-04-24 03:12:14 +00:00
Roger
58cb4ac018
Update README.md
2023-03-15 10:05:21 +08:00
Roger
594106103d
Update README.md
2023-02-17 14:22:28 +08:00
Roger
d8819ac1b3
Update README.md
2023-02-17 14:21:36 +08:00
Roger
107bba45f3
Update README.md
2023-02-17 14:19:15 +08:00
Roger
9bc7e4c64c
Update README.md
2023-02-17 14:18:08 +08:00
Roger
72ed600404
Update README.md
2023-02-17 14:16:25 +08:00
Roger
643bf640fc
Update README.md
2023-02-17 11:56:25 +08:00
Roger
2060642370
Update README.md
2023-02-17 11:46:37 +08:00
yanguwan
5b8dc77f6d
modify priv
2023-02-17 09:55:31 +08:00
vince.wu
63cf0e9039
doc refactor ( #439 )
...
* doc refactor
Co-authored-by: Connor <zbk602423539@gmail.com>
---------
Co-authored-by: Connor <zbk602423539@gmail.com>
2023-02-15 13:38:43 +08:00
yanguwan
8800796b94
fix make_target
2023-02-10 17:35:47 +08:00
yanguwan
1106052291
introduct .make_target.sh
2023-02-10 17:25:18 +08:00
yanguwan
b55eef8e62
add .get_perf.sh
2023-02-09 17:28:57 +08:00
yanguwan
d0ecd597da
add scripts and classroom.yml files
2023-02-09 17:18:28 +08:00
Yueyang Zhan
2bcdc55c54
Doc fix: fix dead links in project 2B and reading list ( #436 )
...
* Fix dead link (#422 )
2023-01-06 01:22:50 +00:00
Boyu Tan
584a2f5570
add 3b test in Makefile ( #433 )
2023-01-05 23:09:02 +00:00
Yueyang Zhan
d69d3bfc18
Fix build warning when making project1 ( #437 ) ( #438 )
2023-01-05 15:05:04 -08:00
RagingSpud
f251031837
change err log output format ( #430 )
2022-11-01 14:18:41 +00:00
niebayes
70a9cc68a9
Update comments for Server.Latches ( #427 )
...
Project4A does not need `Server.Latches`.
2022-10-09 15:35:17 +08:00
niebayes
9366a1dbe9
fix typo ( #423 )
...
Replace `BindErrResp` with `BindRespError`
2022-09-05 13:38:48 +08:00
niebayes
7ef99e3617
replace direct accesses on raftLog.entries with allEntries interface ( #421 )
...
#418
Co-authored-by: Connor <zbk602423539@gmail.com>
2022-08-30 16:56:01 +08:00
niebayes
308bfe343f
fix typo ( #420 )
...
Populate correct id arguments to `newTestRaft` in TestHeartbeatUpdateCommit2AB
2022-08-30 16:45:09 +08:00
niebayes
f5a5aa8a17
add an id parameter to entsWithConfig and votedWithConfig ( #419 )
...
Currently, the only usage of `entsWithConfig` and `votedWithConfig` is in TestLeaderElectionOverwriteNewerLogs2AB.
This test case emulates a five-peer network and spawns each peer either by `entsWithConfig` or `votedWithConfig`.
However, neither of them specifies an id parameter and as a result the five peers all have the same id `1`. This makes debugging and logging a little bit of creepy.
So it'd better to add an id parameter both to `entsWithConfig` and `votedWithConfig`, and modify their usage accordingly.
2022-08-30 13:32:54 +08:00
niebayes
cfbc05df7e
add a new interface allEntries to RaftLog ( #418 )
2022-08-29 03:31:40 +00:00
dependabot[bot]
6df022c85d
Bump github.com/gogo/protobuf from 1.1.1 to 1.3.2 in /proto/tools ( #383 )
...
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf ) from 1.1.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases )
- [Commits](https://github.com/gogo/protobuf/compare/v1.1.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: goroutine <ngaut@users.noreply.github.com>
Co-authored-by: Connor <zbk602423539@gmail.com>
2022-08-15 13:40:00 +08:00
Connor
24aa54430f
Add apache license ( #414 )
...
* Create LICENSE
* Update LICENSE
2022-07-18 13:21:42 +08:00
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