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
Yueyang Zhan
d69d3bfc18
Fix build warning when making project1 ( #437 ) ( #438 )
2023-01-05 15:05:04 -08:00
niebayes
70a9cc68a9
Update comments for Server.Latches ( #427 )
...
Project4A does not need `Server.Latches`.
2022-10-09 15:35:17 +08: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
ZYFZYF
e7de6af1d4
fix two typos ( #406 )
...
* fix two typos
Co-authored-by: Connor <zbk602423539@gmail.com>
2022-07-06 11:28:33 +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
Shuyang Wu
5647091ed4
chore: fix test string assert ( #392 )
...
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
2022-06-30 04:28:35 +00: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
Potato
4a2f3995e5
fix ( #373 )
2022-01-29 15:35:46 +08:00
JLDataKu
543f3340df
fix typo ( #362 )
...
* fix typo
2022-01-11 17:38:37 +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
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
nothatDinger
07d420b75e
Update bootstrap.go ( #309 )
...
fix typos
2021-11-18 11:53:29 +08:00
Xiang Zhang
f959edc4c0
fix ValidForPrefix wrong arguments order ( #293 )
2021-09-23 13:09:24 +08:00
Isaac
d73c60fd5e
Update server_test.go ( #292 )
2021-09-13 12:29:21 +08:00
Daobing Zhu
077953e2d7
Fix an issue to support unreliable in GenericTest ( #265 )
...
* fix an issue to support unreliable in GenericTest
2021-09-01 17:39:01 +08:00
pupillord
bda1e7b85b
Server: Extract raw api to be implemented in Project1 into raw_api.go ( #285 )
...
* Extract raw api to be implemented in Project1 into raw_api.go
* Run go fmt to apply automatic formatter and delete redundant comments
* Add comments and hints to each function
Co-authored-by: tison <wander4096@gmail.com>
2021-08-25 17:24:05 +08:00
mmyj
25dec1a21f
fixing spelling mistakes ( #254 )
2021-02-23 20:20:22 +08:00
Rapiz
951f0b3baf
Remove the unused argument in ScheduleCompactLog ( #240 )
2021-01-27 11:32:07 +08:00
YangKian
59265ae04d
fix wrong setting in handleStaleMsg function ( #235 )
2021-01-20 14:51:02 +08:00
何卓然
87f6ce88e8
spell check using grammarly ( #229 )
2021-01-04 10:25:36 +08:00
何卓然
5e493b7bb9
fix #225 ( #227 )
...
Co-authored-by: NingLin-P <linningde25@gmail.com>
2020-12-30 13:24:03 +08:00
toyohito murooka
9c3a38a059
close iterator ( #221 )
...
fix test code.
refter to https://github.com/pingcap-incubator/tinykv/issues/167
2020-10-09 14:05:17 +08:00
Binacs
6998f4c47a
[kv/util/engine_util] remove dependence on config, making the code more concise and efficient ( #215 )
2020-08-04 14:00:43 +08:00
Connor1996
abaa565b18
fix concurrent read and write on map
...
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
2020-07-27 15:30:27 +08:00
xiongjiwei
cb91131143
return nil when genearte snapshot failed ( #206 )
...
Co-authored-by: Connor <zbk602423539@gmail.com>
2020-06-28 15:18:49 +08:00
Lin ZiHao
3513f5d1b4
MustHavePeer and MustNonePeer should panic after timeout ( #207 )
2020-06-11 15:50:06 +08:00
xiongjiwei
6f95cf0df4
bug fix: may cause redundant change peer request ( #196 )
...
* bug fix: may cause redundant change peer request
Co-authored-by: Connor <zbk602423539@gmail.com>
2020-06-08 13:49:28 +08:00
sdjdd
d13ccb8785
test(project1): call StandAloneStorage.Start before test code run ( #197 )
...
close #195
2020-06-02 17:20:25 +08:00
xiongjiwei
c7fa725b05
Fixes #177 ( #181 )
...
* clone region meta before send to avoid unexpected variable change
2020-05-29 10:00:52 +08:00
xiongjiwei
16b8058220
close file and refactor function ( #185 )
...
* close file
2020-05-28 13:04:18 +08:00
Lin ZiHao
b6d7c442e3
raftState and applyState change to pointer ( #179 )
...
Co-authored-by: Connor <zbk602423539@gmail.com>
2020-05-22 10:54:54 +08:00
xiongjiwei
edb12af93f
fix confusing test data ( #168 )
...
* change confusing test data
* fix word spell
2020-05-11 17:19:26 +08:00
FK2469
08a4067af7
Add missing test data for server_test TestRawDelete1 ( #163 )
2020-05-07 23:02:22 +08:00
Connor
1df74d600c
add log level
...
Signed-off-by: Connor <zbk602423539@gmail.com>
2020-04-30 15:31:26 +08:00
Connor
dd377dedaa
Add support of coprocessor ( #155 )
...
* add coprocessor support
Signed-off-by: Connor1996 <zbk602423539@gmail.com>
Co-authored-by: Yiding Cui <winoros@gmail.com>
2020-04-30 15:31:26 +08:00