A simple static HTTP server in Rust, for learning and local doc development
An annotation of the Rust standard library
brson/big_s 15
Rust's missing `String` literal
Intro to Rust talk
Historic Rust code browsing
brson/beast 10
Opengl 3.2 - 4.2 bindings for rust
An sbt plugin for Android development in Scala
bigannouncement.eth
push eventbrson/blocksy2
commit sha ef58662009a1a5dad1ca9f077fe8ba0cdcaf97a7
.
commit sha 196ce170919763b68a8fdeea1946b019ce55fa33
.
push time in 2 days
push eventbrson/blocksy2
commit sha 4fc51c4092107d1f9a42206bf253a884bb39b105
.
commit sha 70dc36d1794496397625301257e0388d2f3326ff
.
push time in 2 days
push eventbrson/blocksy2
commit sha 0700cb528ca1e75800d97427cd5d96662f559f90
.
commit sha 63cc5c650846cb42bdbca0fb8bbb61560b085e0b
.
commit sha de5cfd55389b1ad15ddff0e4eddbec007dc3f3a3
.
commit sha 2669cfac578933493e4d2cb529434ef8c602f9fb
.
commit sha 1c3f77509d7633753b19f06ff062898259c79cd2
.
push time in 2 days
push eventbrson/blocksy2
commit sha 7cb5c3ccfaf709bea4df0480e9b1d3bee36be6a0
.
commit sha 00c0fd54726bd8d1f7461817f42a65c8764c829a
.
push time in 3 days
push eventbrson/blocksy2
commit sha c724ea6bf9d5a3364fade2eb22db36ded87310ea
.
commit sha 01e942a99384af4db8b33796fc0fa79a71f412f5
.
commit sha 022422b36a7da78256d870eac78a4f08de3caac3
.
commit sha 12b298c45ed9d232bcaf5b6fdc08972a23c23cc3
.
push time in 3 days
push eventbrson/blocksy2
commit sha 56fb2ad56c18d0add1e836c0f06068186b1d201e
.
commit sha 6ca48aeb596cb5c7c9a8fbba4c1244a41f081ee8
.
commit sha 160e37e04419e75b7ba931dded089addc686bd8e
.
push time in 3 days
push eventbrson/blocksy2
commit sha a0f8d66d433311faca235d855b7f0f21bb9b1850
.
commit sha 1f3aa41ef85a714fe3b1cc4721629ab65be7f141
.
push time in 5 days
push eventbrson/blocksy2
commit sha fa117bf66396d272ed2caf144029c722e3980f87
.
commit sha 5311b5fe5cc53623fb0e4bc65e4c4870e7b55822
.
commit sha 7b288e8f6ef1bfbe92c570599dbc82cd30d24065
.
commit sha 11161a2e4b5b21e6e2b3462c2c8f7dbfb446ba2c
.
push time in 5 days
push eventbrson/blocksy2
commit sha 076bf5c31bd0ed1413b2aab39429e04188bfa34e
.
commit sha 4ab800cf6fe8efd46cbba0a94ef5f0c60708064a
.
commit sha 945e5b90cd13f734bd79eb6a64f3d43849a1c46e
.
commit sha ed99759a8c64bb756830707577cf25dc7598615e
.
push time in 5 days
push eventbrson/blocksy2
commit sha d7eb6b5fc181893c1f4d152bb0109aa77b69633b
.
commit sha 7d0faeca0088dbf5dd5086f8e0f0090041d3dd1b
.
commit sha 33dc10cc5f372a206b84c627e8c161b738e024f4
.
commit sha e8f549229e1508f5501d08b36d52ec5c0384b2fa
.
commit sha 85472013e0db9638f71848464b73199a549adb57
.
push time in 6 days
push eventbrson/blocksy2
commit sha 2276fce8c0ebd4f73bfc70275bcd90a93ea76291
.
commit sha e782864d09a052e59f83963edd49893d8d1a8bbd
.
commit sha 2bd2f0fce6796237a920d7a61f87176e4bf6c10b
.
commit sha 2b79914035d9327ff67bd22a77e308e915fc881b
.
commit sha fa2a816e66d659bb26c35d42c746fa034ab0946a
.
commit sha d7534d30ae33be8938149627cc44271994d734c7
.
commit sha 91c15813aa4d2663d6233aa6ecc474bcae3382de
.
commit sha ff1671603296b7c2a0892bf91acd68f7dcc77741
.
commit sha be0d98fdfc1706ca39b86b2d025a69ba3020cdb4
.
commit sha a3509776c927507b0a1c590e5318d1e72ec61620
.
commit sha 4cb8991e47f92224ccb48a1e872c3763baebcf41
.
commit sha 57738e15cf3a28731e677686dd720100fd619980
.
commit sha 67e93918a4dcc7300fe91fd36269094184f9df0d
.
commit sha 6d9ddf7f0ed6ab025ae8666b2b096d4e389a796a
.
push time in 6 days
push eventbrson/blocksy2
commit sha a4d0a9e141da04d2c9e0f8edaa231216ce2834b2
.
commit sha 05f53201e70c7063d17653e5e7c11ff47952efd8
.
commit sha b284d4513cf8092955a0b6fc6ef1f4aa1ee245d7
.
commit sha d65eaa74b43d03c10cf70a49d5f5fd7c2aea3ac6
.
commit sha 632c2f18c915bde273fbe0ae21378abd2143f1ef
.
commit sha 4ebc897c4c5e09b54d4711ebde2203575293d01c
.
commit sha 2a1c391bcb8eccb7063e11b7223a85ee86691c46
.
commit sha b4f42506288dd6c231d1249da52756ef7534fca5
.
commit sha ce880f5b1f4f33aadee720b1f0d5cf92052c4884
.
commit sha 17137d6fd503037415c4dab8a791682b4bb319d7
.
commit sha 921064998fb79dde63ff9ec9c5152819553fc8a0
.
commit sha b2688d5857010b013292d7a2de77d5807391b01f
.
push time in 6 days
push eventbrson/blocksy2
commit sha 29aeb47fa880ba50e82b7bd4b608fb1ffb654c04
.
commit sha 3044a321e2cfdcde38a0b5d796a17d574c7127da
.
commit sha af89f8d272a43c56a3d24d169b60348b6c8004a3
.
commit sha d7f7fb633c7cb1a2d8ead187a1c8f735b06bb12c
.
commit sha 8916f19b2c4ae1c0dc4becdc12c3d6a6d3b52b28
.
commit sha df8b44ec902c434518bea3fae05d926a5cf4a859
.
push time in 6 days
push eventbrson/blocksy2
commit sha 163885f82d57ad597930f5f1276f66b9889eee17
Derive Debug Signed-off-by: Brian Anderson <[email protected]>
commit sha 2b3d3ad264b07cbbf05ae8e48b62461a2b47778b
.
commit sha b75cde01e079fcaa415cbc7bbcd1a8d6461c9c97
.
push time in 7 days
push eventbrson/rust-doc-tool
commit sha 24991e8f0e80333e97070c573ffdcff068e1cdc1
Clean up article extraction
commit sha 6ece64d855fd681e91d09591bacd6566b577f5f7
Start making dreamwidth work
commit sha 70b60a4125d5915e716a387a12431ba14b7fcdb7
More dreamwidth support
push time in 8 days
push eventbrson/rust-doc-tool
commit sha 75c278e7f7f7da229a094c1f38586a423bc5dd09
Add support for bcantrill's blog
push time in 8 days
push eventbrson/rust-anthology
commit sha 590efc43bf26093645ba33a36bb9813f1ab1f901
.
push time in 8 days
push eventbrson/tikv
commit sha c150b0dd19d768ce4f8d665a5dcfc29bc4bc0cc2
engine_traits_test: Add simple sync test Signed-off-by: Brian Anderson <[email protected]>
commit sha aa16bc927ad45e05a31bc36f9c590d003fed0351
engine_sled: Implement sync Signed-off-by: Brian Anderson <[email protected]>
push time in 8 days
push eventbrson/tikv
commit sha 61b8b8336b897074b44c06e8c954733d4b0a9b6e
engine_traits_tests: Add iteration seek to key test Signed-off-by: Brian Anderson <[email protected]>
commit sha fd0f7dba76432b65ccb3b3a1a39b937131dbc8e4
engine_sled: Implement seek to key Signed-off-by: Brian Anderson <[email protected]>
commit sha 7bf1958a61f8e9976399a498c4daab6d59379899
engine_traits_tests: Add test for seek to key then iterate backwards Signed-off-by: Brian Anderson <[email protected]>
commit sha 9046810af48ad59f42af2abfe6645096a8767475
engine_sled: Implement iterator reverse direction forward to back Signed-off-by: Brian Anderson <[email protected]>
commit sha 5725496efd00b50f579ccc99ef393713a1501d50
engine_traits_tests: Add iterator forward then reverse test Signed-off-by: Brian Anderson <[email protected]>
commit sha 540b07d8d15a14fa9435803c777a740ea6391488
engine_traits_tests: Add iterator reverse then forward test Signed-off-by: Brian Anderson <[email protected]>
commit sha b537b12fd8c28c75da740346da5b8c48e2fa4437
engine_sled: Implement iterator reverse direction backward to forward Signed-off-by: Brian Anderson <[email protected]>
push time in 8 days
push eventbrson/tikv
commit sha 3c3f54d732bbc2ed00c738d31b1333d5ff6cc9c0
engine_traits_test: Add reverse iteration test Signed-off-by: Brian Anderson <[email protected]>
commit sha 9cbc43b59b327a024c80a2d062a318b0b97f5290
engine_sled: Implement reverse iteration Signed-off-by: Brian Anderson <[email protected]>
push time in 8 days
push eventbrson/tikv
commit sha 715d3b2fd7698aae33eec478ae6a13e16cb2f0e9
engine_traits_tests: Add forward iteration test Signed-off-by: Brian Anderson <[email protected]>
commit sha 49d02f97ce17ce9de30b7d89b2b96ee5dea3d788
engine_sled: Implement forward iteration Signed-off-by: Brian Anderson <[email protected]>
push time in 8 days
push eventbrson/tikv
commit sha 558dd163fd4a369f72ad800d96fe3e4b345cb237
engine_sled: Implement empty engine iterator Signed-off-by: Brian Anderson <[email protected]>
push time in 9 days
push eventbrson/tikv
commit sha 14721b3e645b7c51c975095f6361a6cf6daedaf0
engine_rocks: Add 'rtcheck' feature to engine_rocks and turn it on As described in Cargo.toml Signed-off-by: Brian Anderson <[email protected]>
commit sha 1de0e5efa35207534381f14826709ad4356c0dcf
engine_traits_tests: Add test for empty engine iterators Signed-off-by: Brian Anderson <[email protected]>
push time in 9 days
push eventbrson/rust-is-for-blockchain
commit sha 568d276fae6fad5e230b8a4bf446bb6f2085b521
.
push time in 9 days
push eventbrson/coconuts
commit sha 619d6e7fe7726555e5bba429cd1e8ca7b69d97bc
Hacking
commit sha f037179575a98c2601a02d61891feb5573d9c191
.
commit sha c5271d9688742cec9944e56940791b13696ac116
.
commit sha 797dea23591775f34fe2b07d4355734d814bee3b
.
commit sha de8d84169ed9101f12646ea11a24e2208ac66288
Add jupyter model
commit sha 434e68a406e5d07ad56ed64afc7ab7abac885d6b
Model tweaks
push time in 10 days
push eventbrson/tikv
commit sha f4e02a4f595a232b115c144c88a4a56af179f6c6
engine_sled: Implement delete methods Signed-off-by: Brian Anderson <[email protected]>
commit sha 46276527ce5aeaf4a4c4eb0b61e1026da718a921
engine_sled: Refactor non-cf methods Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/tikv
commit sha 464c28f0567b3753ba630b9b3aeade379a256ed2
engine_sled: Always create CF_DEFAULT Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/tikv
commit sha 1bc2e6e5a3c2170d06c757aadc73cce2b6e63ecf
engine_sled: Use CF_DEFAULT for non-cf get/put methods Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/tikv
commit sha 8e8f878f0efcaf17d4f21ac01f5f95682e72a335
engine_traits_tests: Add another cf get/put test Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/tikv
commit sha 69245194f4d7adcce6b51f75e2f17f29a3b9c7e2
engine_traits_tests: Another CFNamesExt test Signed-off-by: Brian Anderson <[email protected]>
commit sha 52ceebfe576cea89b8bb0128722aeaab9d356680
engine_sled: Implement get/put for cfs Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/tikv
commit sha a5aa490493bf98775c934b97e744605231a3302d
engine_sled: Implement CFNamesExt Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/tikv
commit sha 81e60f7f237e9ef6774f18f39c80ba786506d957
engine_traits_tests: Add another simple read/write test Signed-off-by: Brian Anderson <[email protected]>
commit sha f33c23c71b550c5fe74cf999bba2b5253de64abe
engine_sled: Add sled as a dependency Signed-off-by: Brian Anderson <[email protected]>
commit sha fb26c1debd148159236d89486e6fb55ce9857248
engine_sled: Implement basic get/put Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
pull request commenttikv/tikv
Make raftstore testable with arbitrary combinations of storage engines
ping @hicqu @Little-Wallace @5kbpers
comment created time in 11 days
push eventbrson/tikv
commit sha 2a2fa03da53b63f3fc24d7ea53aead40176979b5
fix links to point to tikv instead of pingcap (#8776) Signed-off-by: Greg Weber <[email protected]>
commit sha 16643d839eb0fa38e798aa699116fc09a62eede6
*: update rust-rocksdb version to fix build failed (#8784) Signed-off-by: Patrick <[email protected]>
commit sha 865eebbe0e48b9073cd6fbe35c4f57a34e60e865
Add engine_test crate https://github.com/tikv/tikv/issues/8452 Signed-off-by: Brian Anderson <[email protected]>
commit sha 33991cec3d26f2d6dbffe53e827e47ba4649aba6
engine_test: Keep hacking on engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha 2249e55f8de8a3537137c614cae8ce24b755408e
engine_test: Make engine ctors look like rocks engine ctors Signed-off-by: Brian Anderson <[email protected]>
commit sha 2db1aee7e446cadd31790f93d3fba34fc2a14d32
engine_test: ColumnFamilyOptions is clonable Signed-off-by: Brian Anderson <[email protected]>
commit sha 1cfbe4fff751a09919f49eafa2fcc9514b709cf9
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 88c3b0dd60ad99a5fa257acf103060d6ebba5d9f
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 9b25ec5407fa7c33516f20aa37899fd50f26fde8
engine_test: Add no_range_properties to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 3a2aec65ffc0feeb0eacc6dd2697d83790f1d010
engine_test: Add disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha f4b4e74ab26519f73b54a8701824f637b25a8f49
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 67f11104efa968a5be0ee6ebd388e23df8bac5b3
engine_traits: Add set_level_zero_file_num_compaction_trigger and set_disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 5f31b40c0363fcf1030c148ac19567d8d6d21420
engine_test: Avoid raw APIs Signed-off-by: Brian Anderson <[email protected]>
commit sha fc5039bd249ed74f32fe0b20d70a0ddd4806eea5
engine_test: Add new_engine ctor function Signed-off-by: Brian Anderson <[email protected]>
commit sha 9dcbb7fcf733bb388323c072962dc0c77467e413
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 6ef2f473fb72d59af62260928c5a43723ebefa25
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha eb1d28d7736010a99e119881d6613a292d32f7fe
engine_test: Create defs for KvTestSnapshot and RaftTestSnapshot Signed-off-by: Brian Anderson <[email protected]>
commit sha 1d1ef37ab41835dbaf53363703eda04f86d0f35c
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha dfae5e4beefb459e64259319cc7cbda8e9adfef6
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 7a2a9f88000de79418b4645f1ae87990d6e420a0
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
push time in 11 days
push eventbrson/coconuts
commit sha 7d5bc4fbcad9980c807c572bae3e66138d94959c
Wip
push time in 14 days
push eventbrson/coconuts
commit sha d69c5f4c9bdcf81ca49e29d5d9b5924f3d6c0373
Begin www
commit sha 6b26d335b589504c373f10e8e2548d3107051e87
Add an accessor to get a citizen's entire state at a block
push time in 15 days
push eventbrson/coconuts
commit sha 77bd2a34c022d8c56eaedc52d5d0d9bdeb467a2c
Refactor
push time in 15 days
push eventbrson/coconuts
commit sha 1bed6883edeb5444057e016d72d52de216d9ef65
Comments
push time in 15 days
push eventbrson/coconuts
commit sha 6c1d65923f1bc48dffddecb9b635e6bb70d6900e
Introduce unique citizen IDs
commit sha b3cadc5e12fc2d15f5dbec03fc013b312a64a1d7
Rename coconut_balance to young_coconut_balance
commit sha 6682288f2c6d43f55324571cc332403998344499
Add an assert
commit sha 83c0a73d813c00b03fd4ad468c828757a21f5a34
Decay young coconuts into brown coconuts
push time in 15 days
push eventbrson/coconuts
commit sha 73c216e3ba5edf448e15a3529be0634c1b894bfd
Add unit tests
push time in 15 days
push eventbrson/coconuts
commit sha 12baf2c6468c61a1715e59c2ff2d722bf438fdf2
Rename some things
push time in 15 days
push eventbrson/tikv
commit sha 66cf24ac1f3a69ba1381f86e3b884d592dd4bd05
engine_traits: Remove another use of CFNamesExt Signed-off-by: Brian Anderson <[email protected]>
push time in 18 days
push eventbrson/tikv
commit sha f31f1b3e072e0939d0877239ac9564855b56d0a4
engine_traits_tests: Add simple ctor tests Signed-off-by: Brian Anderson <[email protected]>
commit sha ee8bd57a9f99371bc9c253e680687b68aae00884
engine_test: Add a simple read/write test Signed-off-by: Brian Anderson <[email protected]>
push time in 18 days
push eventbrson/tikv
commit sha 1d7b29f7e8a13edc7625de9e857a908f791e32f8
Add engine_traits_tests crate Signed-off-by: Brian Anderson <[email protected]>
push time in 18 days
push eventbrson/tikv
commit sha c695a971dbf7dfceeed62b97b9cb3f76ae86f4d7
lock_mgr: fix busy poll on grpc error in deadlock detector (#8726) Signed-off-by: Yilin Chen <[email protected]>
commit sha ed93f82480798d3badca3b324e40fab4c36fa84d
server: use new raft client (#8591) Signed-off-by: Jay Lee <[email protected]>
commit sha d46c7440bc27230b12bd91896005949af8a92817
raft-engine: implement dump from old raftdb (#8680) Signed-off-by: Xintao <[email protected]>
commit sha 9a402ff9046fb28fb416fc8ff6732ad1a502dbeb
test: try to make test `import::sst_service` more robust (#8736) Signed-off-by: kennytm <[email protected]>
commit sha afa7a80dbf260815219f841054ee1dd3c13d792d
*: clean up code (#8731) Signed-off-by: Jay Lee <[email protected]>
commit sha ed75263f934a66258ec2b194297ebd4775d712c6
*: add config to redact log in raftstore and engine (#8670) Signed-off-by: Alex Chi <[email protected]> Signed-off-by: Connor <[email protected]>
commit sha 3da2428b64fb626b6f91be7e329804c367316376
copr: Implement non-nullable for string related functions (#8728) Signed-off-by: Xuanwo <[email protected]>
commit sha 903c5334a68ed31ee962f2dd27d5174748c2adbd
txn: return min_commit_ts_pushed from check_txn_status inner (#8751) Signed-off-by: Yilin Chen <[email protected]>
commit sha 093e6ae065eacd63e65a3cee5c59d3ccd9718074
metrics: Remove the command filter (#8714) Signed-off-by: Breezewish <[email protected]>
commit sha 3fcbdc350a734e963fb15122d53695fbf667080e
external_storage: fix error in parsing GCS storage class (#8757) Signed-off-by: kennytm <[email protected]>
commit sha f94ed51b1778e96eb36fc901403a8f982edd4665
Make raft engine dump parallel (#8745) Signed-off-by: Xintao <[email protected]>
commit sha e7be4b808c1380c56d413f0db686c9d459a07998
rusoto_util: keep the original error in DefaultCredentialsProvider (#8766) Signed-off-by: kennytm <[email protected]>
commit sha 45972a5295f689b2db9449679b4454a4f1ff43cd
change error for split_region and read_index (#8765) Signed-off-by: qupeng <[email protected]>
commit sha d262569b4637091b89cf8fb1b74c009966f3eb4d
fix doc tests (#8774) Signed-off-by: Greg Weber <[email protected]>
commit sha 3a166b635496a44334b0d5de5a1deaaad2727831
Add engine_test crate https://github.com/tikv/tikv/issues/8452 Signed-off-by: Brian Anderson <[email protected]>
commit sha 693c1dd22ae2937bfb581ee58a3c7ca37a2b73e6
engine_test: Keep hacking on engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha 6945ef932e95e5453f06361309d814777c0c9031
engine_test: Make engine ctors look like rocks engine ctors Signed-off-by: Brian Anderson <[email protected]>
commit sha 3e887cfe55343bbda73869db8fa4c70f4771524a
engine_test: ColumnFamilyOptions is clonable Signed-off-by: Brian Anderson <[email protected]>
commit sha 6373ec708d902cb6dcf1825cc2ca509346086df1
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha f1d17d8eda7b0fcd68f56b1badb38abe04144d8b
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
push time in 18 days
push eventbrson/tikv
commit sha 053b632d61199b4ccf24d06910674456144d4269
Replace some engine_rocks in tikv crate with generics (#8704) Signed-off-by: Brian Anderson <[email protected]>
commit sha 2c6c323ab660e8b00386760066a6468ea9660982
Add engine_test crate https://github.com/tikv/tikv/issues/8452 Signed-off-by: Brian Anderson <[email protected]>
commit sha 1417477e6ac4b0901e241f8f6f8a5810f7ffffbb
engine_test: Keep hacking on engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha b51d58897bcdc8bb0c18de394e7f5cd9d5765a2f
engine_test: Make engine ctors look like rocks engine ctors Signed-off-by: Brian Anderson <[email protected]>
commit sha e18e62f740efd9c1b589737a79ae51b48b504335
engine_test: ColumnFamilyOptions is clonable Signed-off-by: Brian Anderson <[email protected]>
commit sha 4decc8edc965b868a57f2a6d0dd60afed392a470
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 296b41a4f87dc6bc39cf812287b60b97e12c34cb
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 086516e9e580ce1ad2b20dda74b3ddab402352dc
engine_test: Add no_range_properties to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha c17b0f502e882d12755f1f9e080f89abde62f72f
engine_test: Add disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 32f6bed1dec7f1aa30ead20086303c599417fd8d
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha a70a35b1ba13addf46536c3b949fb8df9b6cc522
engine_traits: Add set_level_zero_file_num_compaction_trigger and set_disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 6f9d4c8be3655f18fbb63fb4392d1496193d51bc
engine_test: Avoid raw APIs Signed-off-by: Brian Anderson <[email protected]>
commit sha ed465cede56f2797803c917d7b0ca63e5dcc71b8
engine_test: Add new_engine ctor function Signed-off-by: Brian Anderson <[email protected]>
commit sha 2dc1b09cf933e5b2e29b60205324f287da61fba4
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha dbe619c514a07a004beba0791cb6346739463eb5
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha bf391fac32e6b4c8a0bc2ad0cecb9b33a4f804ea
engine_test: Create defs for KvTestSnapshot and RaftTestSnapshot Signed-off-by: Brian Anderson <[email protected]>
commit sha e1617aa3bddeb485c6dbad6dbe21d561e78828b7
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 4dbe7ad9a5c764c3fce69e66f047f2adc7fccb6d
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 3f6a6b8e486a9883f2dd93d0157a31f076a1dabb
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
commit sha 8011b1e6ba91b55ee27a848381701550302d64e4
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
push time in 18 days
pull request commenttikv/tikv
Make raftstore testable with arbitrary combinations of storage engines
This is rebased and the makefile integration should be fixed.
comment created time in 18 days
push eventbrson/tikv
commit sha c695a971dbf7dfceeed62b97b9cb3f76ae86f4d7
lock_mgr: fix busy poll on grpc error in deadlock detector (#8726) Signed-off-by: Yilin Chen <[email protected]>
commit sha ed93f82480798d3badca3b324e40fab4c36fa84d
server: use new raft client (#8591) Signed-off-by: Jay Lee <[email protected]>
commit sha d46c7440bc27230b12bd91896005949af8a92817
raft-engine: implement dump from old raftdb (#8680) Signed-off-by: Xintao <[email protected]>
commit sha 9a402ff9046fb28fb416fc8ff6732ad1a502dbeb
test: try to make test `import::sst_service` more robust (#8736) Signed-off-by: kennytm <[email protected]>
commit sha afa7a80dbf260815219f841054ee1dd3c13d792d
*: clean up code (#8731) Signed-off-by: Jay Lee <[email protected]>
commit sha ed75263f934a66258ec2b194297ebd4775d712c6
*: add config to redact log in raftstore and engine (#8670) Signed-off-by: Alex Chi <[email protected]> Signed-off-by: Connor <[email protected]>
commit sha 3da2428b64fb626b6f91be7e329804c367316376
copr: Implement non-nullable for string related functions (#8728) Signed-off-by: Xuanwo <[email protected]>
commit sha 903c5334a68ed31ee962f2dd27d5174748c2adbd
txn: return min_commit_ts_pushed from check_txn_status inner (#8751) Signed-off-by: Yilin Chen <[email protected]>
commit sha 093e6ae065eacd63e65a3cee5c59d3ccd9718074
metrics: Remove the command filter (#8714) Signed-off-by: Breezewish <[email protected]>
commit sha 3fcbdc350a734e963fb15122d53695fbf667080e
external_storage: fix error in parsing GCS storage class (#8757) Signed-off-by: kennytm <[email protected]>
commit sha f94ed51b1778e96eb36fc901403a8f982edd4665
Make raft engine dump parallel (#8745) Signed-off-by: Xintao <[email protected]>
commit sha e7be4b808c1380c56d413f0db686c9d459a07998
rusoto_util: keep the original error in DefaultCredentialsProvider (#8766) Signed-off-by: kennytm <[email protected]>
commit sha 45972a5295f689b2db9449679b4454a4f1ff43cd
change error for split_region and read_index (#8765) Signed-off-by: qupeng <[email protected]>
commit sha d262569b4637091b89cf8fb1b74c009966f3eb4d
fix doc tests (#8774) Signed-off-by: Greg Weber <[email protected]>
commit sha 3a166b635496a44334b0d5de5a1deaaad2727831
Add engine_test crate https://github.com/tikv/tikv/issues/8452 Signed-off-by: Brian Anderson <[email protected]>
commit sha 693c1dd22ae2937bfb581ee58a3c7ca37a2b73e6
engine_test: Keep hacking on engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha 6945ef932e95e5453f06361309d814777c0c9031
engine_test: Make engine ctors look like rocks engine ctors Signed-off-by: Brian Anderson <[email protected]>
commit sha 3e887cfe55343bbda73869db8fa4c70f4771524a
engine_test: ColumnFamilyOptions is clonable Signed-off-by: Brian Anderson <[email protected]>
commit sha 6373ec708d902cb6dcf1825cc2ca509346086df1
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha f1d17d8eda7b0fcd68f56b1badb38abe04144d8b
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
push time in 18 days
push eventrust-in-blockchain/rust-in-blockchain
commit sha 106f7774c3e3043cb9780e497bde6ee90f9af624
edits
push time in 19 days
push eventrust-in-blockchain/rust-in-blockchain
commit sha 691c9f1f827a1bb5e2db48d305e7a6c8a740862c
stuff
push time in 19 days
push eventrust-in-blockchain/rust-in-blockchain
commit sha cf5e76febf866065999b3ff391b579857b5e5d17
stuff
commit sha 10e50ac1139a58596765bc6cc4c655f8cb792b1d
Merge branch 'master' of https://github.com/rust-in-blockchain/Rust-in-Blockchain
commit sha f7c0dd8230dfbc9219c6f4cbd5923341e3504e3c
stuff
commit sha 6aebe587ea3a7ea936b51fa373f02d68824dec7b
Merge branch 'master' of https://github.com/rust-in-blockchain/Rust-in-Blockchain
push time in 19 days
push eventrust-in-blockchain/rust-in-blockchain
commit sha caaed0bf4fec21f4c83bb4a59472cabd5a123283
intro
commit sha b7b3925a2faf0e0f99dabb10602ebb054a8205f1
Merge branch 'master' of https://github.com/rust-in-blockchain/Rust-in-Blockchain
commit sha 9b9a44c24fdd3bbbd84a18e7c06ed95355d78e3f
fix intro
push time in 19 days
push eventbrson/tikv
commit sha 053b632d61199b4ccf24d06910674456144d4269
Replace some engine_rocks in tikv crate with generics (#8704) Signed-off-by: Brian Anderson <[email protected]>
commit sha 2c6c323ab660e8b00386760066a6468ea9660982
Add engine_test crate https://github.com/tikv/tikv/issues/8452 Signed-off-by: Brian Anderson <[email protected]>
commit sha 1417477e6ac4b0901e241f8f6f8a5810f7ffffbb
engine_test: Keep hacking on engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha b51d58897bcdc8bb0c18de394e7f5cd9d5765a2f
engine_test: Make engine ctors look like rocks engine ctors Signed-off-by: Brian Anderson <[email protected]>
commit sha e18e62f740efd9c1b589737a79ae51b48b504335
engine_test: ColumnFamilyOptions is clonable Signed-off-by: Brian Anderson <[email protected]>
commit sha 4decc8edc965b868a57f2a6d0dd60afed392a470
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 296b41a4f87dc6bc39cf812287b60b97e12c34cb
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 086516e9e580ce1ad2b20dda74b3ddab402352dc
engine_test: Add no_range_properties to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha c17b0f502e882d12755f1f9e080f89abde62f72f
engine_test: Add disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 32f6bed1dec7f1aa30ead20086303c599417fd8d
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha a70a35b1ba13addf46536c3b949fb8df9b6cc522
engine_traits: Add set_level_zero_file_num_compaction_trigger and set_disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 6f9d4c8be3655f18fbb63fb4392d1496193d51bc
engine_test: Avoid raw APIs Signed-off-by: Brian Anderson <[email protected]>
commit sha ed465cede56f2797803c917d7b0ca63e5dcc71b8
engine_test: Add new_engine ctor function Signed-off-by: Brian Anderson <[email protected]>
commit sha 2dc1b09cf933e5b2e29b60205324f287da61fba4
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha dbe619c514a07a004beba0791cb6346739463eb5
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha bf391fac32e6b4c8a0bc2ad0cecb9b33a4f804ea
engine_test: Create defs for KvTestSnapshot and RaftTestSnapshot Signed-off-by: Brian Anderson <[email protected]>
commit sha e1617aa3bddeb485c6dbad6dbe21d561e78828b7
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 4dbe7ad9a5c764c3fce69e66f047f2adc7fccb6d
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 3f6a6b8e486a9883f2dd93d0157a31f076a1dabb
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
commit sha 8011b1e6ba91b55ee27a848381701550302d64e4
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
push time in a month
pull request commenttikv/tikv
Make raftstore testable with arbitrary combinations of storage engines
In general, the constructors for each engine are going to need to hide a lot of the details of how to construct the engines in a proper configuration for tikv.
So e.g. the constructors here just assume that you always want the MvccPropertyCollectorFactory and RangePropertyCollectorFactory installed, since those are pretty much necessary for the engine to work properly within tikv, and representing those types in an abstract way is probably not reasonable.
comment created time in a month
pull request commenttikv/tikv
Make raftstore testable with arbitrary combinations of storage engines
cc @yiwu-arbug i think you have been doing work on encrypted storage. This patch begins making storage engine constructors work across multiple storage engines, and adds a case for the most simple encrypted storage use case, adding a DBOptions method called with_default_ctr_encrypted_env.
I don't understand the Env type yet, or the encryption features, so you might peek at this and see if the direction I'm going is compatible with your work.
comment created time in a month
push eventbrson/tikv
commit sha 98f83658cd0e240eb2462746161f4b6834975035
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha afe33c1c4dc80eac0da50f42a86d04f88c8c27d0
raftstore: Fix brittle test for generic engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha c3a1ecadc4eb49b283e844cf47b0cea6af13ccc3
raftstore: Use EngineRocks instead of raw engine types Signed-off-by: Brian Anderson <[email protected]>
commit sha e834a765cec83b9b4f8ecafaabd553bfa764370d
engine_traits: Add get_total_sst_file_size_cf to MiscExt Signed-off-by: Brian Anderson <[email protected]>
commit sha c08c6197fe305d9efa195d43c1778d28fb17f880
raftstore: Use get_total_sst_file_size_cf Signed-off-by: Brian Anderson <[email protected]>
commit sha a07494e702cc34230d10b9bfc44013fa8ead6c7c
raftstore: Use RocksEngine instead of raw types in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha c9f60df09b9194626ae79df735b4677f89936a11
engine_traits: Add get_range_cf_entries_and_versions to MiscExt Signed-off-by: Brian Anderson <[email protected]>
commit sha 2eb2fc6ff069db6ebf0d3f9315aa8e10f8c0f4db
raftstore: Use get_range_entries_and_versions in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha e4b434bf91ace93c3228963e4179bedc18ce1721
raftstore: Use engine_test instead of engine_rocks in compact mod Signed-off-by: Brian Anderson <[email protected]>
commit sha 9d8b6a1af09a4f1d020ec62fc75367c77af3d2a3
raftstore: Use get_range_entries_and_versions Signed-off-by: Brian Anderson <[email protected]>
commit sha 74267f14e416b9073cfe0624877bbb71b89a8a51
engine_traits: Add get_cf_num_files_at_level to MiscExt Signed-off-by: Brian Anderson <[email protected]>
commit sha 6e73613548cafcb5ac3b1325b6c561901fda89b6
raftstore: Use get_cf_num_files_at_level from traits Signed-off-by: Brian Anderson <[email protected]>
commit sha f9ff9f062a50216fa24fd2bb35df561863d791bb
raftstore: Fix non-abstract use of test engines Signed-off-by: Brian Anderson <[email protected]>
push time in a month
PR opened tikv/tikv
What problem does this PR solve?
Issue Number: close https://github.com/tikv/tikv/issues/8452
Problem Summary:
Make it possible to run the test suite with alternate, non-rocksdb storage engines.
What is changed and how it works?
This patch adds a crate, engine_test, that does two things:
- Adds compile-time features to select which storage engine type will be used for the kv store and which will be used for the raft store, both independent from each other
- Defines common constructors for all storage engines
Eventually the constructor code will be moved elsewhere, probably into engine_traits and individual engines. But for now they only fulfill the use cases needed by the raftstore crate, duplicate some engine_traits code, and I'd like to keep them in engine_test while they evolve, to indicate they are only useful for test use cases so far.
This patch then modifies the raftstore unit tests to use engine_test.
After this patch there are only a few minor places raftstore still uses engine_rocks directly:
PerfContext-related code, which only affects global state and does nothing when other engines are selected- Some config code
- A test case that uses the concrete
RocksCompactedEventtype, that I haven't decided what to do about yet.
Other than that one test case, raftstore is completely testable with alternate storage engines. Of course, as of now the only alternate engine in tree is engine_panic which just panics, but it can be tested with:
cargo test -p raftstore --no-default-features --features=protobuf-codec,test-engines-panic
More details about how the engine_test crate should be used in the crate docs for engine_test.
This will eventually require more work to accommodate the special raft engine, but it should essentially be compatible with this design. cc @hicqu
Next steps:
- Completely remove the engine_rocks dependency from raftstore, so that nobody can re-introduce unabstracted dependencies. The main obstacle here is figuring out what to do with PerfContext.
- Continue abstracting the tikv crate. It's mostly straightforward from here.
- I have begun working on
engine_sled, which should be a pretty simple binding, to prove that it's possible to test other engines successfully.
cc @nrc you might look at the design of engine_test and see if you think it's maintainable, as it will complicate the testing story eventually with it's compile-time configuration.
Related changes
Check List <!--REMOVE the items that are not applicable-->
Release note <!-- bugfixes or new feature need a release note -->
- No release note.
pr created time in a month
push eventbrson/tikv
commit sha 2a4223098af9480d3998237eb963d76823af0f0b
txn: check memory locks and update max ts in read index (#8669) Signed-off-by: Yilin Chen <[email protected]>
commit sha d4880b2eabbd816fffb5b2faec3b3b74dd2a6f71
titan: Fix possible panic of generating snap when doing UnsafeDestroyRange (#8708) Signed-off-by: Connor <[email protected]>
commit sha b43070ade0ebc2d0b214c74b86c4b8c32047b449
backup: change file name with local timestamp (#8707) Signed-off-by: luancheng <[email protected]>
commit sha 19c6801c45c0771e80b76afb27655d789bb0063d
make prewrite an action (#8664) Signed-off-by: longfangsong <[email protected]>
commit sha 4a828f036fb1c92d2d5e4341089e77edf858bfde
raftstore: support using joint consensus (#8401) * raftstore: support using joint consensus Signed-off-by: linning <[email protected]>
commit sha 0f9a35fe068e2d0420d1c56b009b25c8b9e43f01
Add engine_test crate https://github.com/tikv/tikv/issues/8452 Signed-off-by: Brian Anderson <[email protected]>
commit sha 86ba391ed93372cd4afda39cd5c2fe61d6120490
engine_test: Keep hacking on engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha 64aeb61a54a87f525444cf851a303b2efc54c700
engine_test: Make engine ctors look like rocks engine ctors Signed-off-by: Brian Anderson <[email protected]>
commit sha 48688e596d6198d13f99d94e5cdbdf1f81a030b0
engine_test: ColumnFamilyOptions is clonable Signed-off-by: Brian Anderson <[email protected]>
commit sha b3f2fe3d5cbf24815a8de0533f12708af6b9117d
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha b23c9f93e141f9878a6a19fd5ba6101353c463b7
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 8cc947f79c0b4ba3508b7bd1a4aba1b6856a46b0
engine_test: Add no_range_properties to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 09091e096bb548174a06b0b4e01422f230d80440
engine_test: Add disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 72cafebe34fad8d5a64c2801bf732349f3596d3e
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 1d513882c47aa4451adb64d3b6f6f9483d39ee3e
engine_traits: Add set_level_zero_file_num_compaction_trigger and set_disable_auto_compactions to ColumnFamilyOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 6e0d83847b38f929b0179dd27169f7fc313935d0
engine_test: Avoid raw APIs Signed-off-by: Brian Anderson <[email protected]>
commit sha 21acbc37100049e0f82418f7c80d4cde93cbe59c
engine_test: Add new_engine ctor function Signed-off-by: Brian Anderson <[email protected]>
commit sha cf21fb1e4f69b9a113ada042298f1f6bc68a991a
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha b72cf3721b7c8f47b99004a91971e02ae2afcc50
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 19dfd042ca60a11d9490a6bb18f6e853f5b2e8ea
engine_test: Create defs for KvTestSnapshot and RaftTestSnapshot Signed-off-by: Brian Anderson <[email protected]>
push time in a month
pull request commenttikv/tikv
Replace some engine_rocks in tikv crate with generics
/merge
comment created time in a month
push eventbrson/tikv
commit sha 71c652efeb7b4eecd95aae99bf306203f7b83acd
engine_test: More docs Signed-off-by: Brian Anderson <[email protected]>
commit sha ede1021ec673949cb7ac728f84422da585f4f81b
engine_test: Add with_default_ctr_encrypted_env to DBOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 8a46a709e7127040775b17af090c2cd92df30f5f
engine_test: Derive Clone for DBOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 52e64b16633bb7e8789d3211caafbec559d74f9f
engine_test: Add set_level_zero_slowdown_writes_trigger Signed-off-by: Brian Anderson <[email protected]>
commit sha cc162036411f73b21c42fee2449eb9576c2a47e4
raftstore: Parameterize assert_eq_db over engines Signed-off-by: Brian Anderson <[email protected]>
commit sha 93c3622da4d303cc2c827232ffa3d90690cbe8d7
raftstore: Use RocksEngine instead of Arc<DB> in snap tests Signed-off-by: Brian Anderson <[email protected]>
commit sha 9aea1b0f4ef8db7f77e987215d84b041f7ef37e2
engine_test: Add no_table_properties to DBOptions Signed-off-by: Brian Anderson <[email protected]>
commit sha 8061eb63371fb033cc0ae18ec2b211c19ceff5d7
.
commit sha 263d09b0ad94f6ee3cd7c4c2784bcfa9e812585c
raftstore: Fix brittle test for generic engine constructors Signed-off-by: Brian Anderson <[email protected]>
commit sha e11393a4be7c2cd273a2038069d3a91fae835b68
raftstore: Use EngineRocks instead of raw engine types Signed-off-by: Brian Anderson <[email protected]>
commit sha 3a78d8cd8bff1e2489feabf6f0b7ef317f3c9bab
engine_traits: Add get_total_sst_file_size_cf to MiscExt Signed-off-by: Brian Anderson <[email protected]>
commit sha 9cc1dedfc08e7c5df1076d2bb4723ec05a4c263b
raftstore: Use get_total_sst_file_size_cf Signed-off-by: Brian Anderson <[email protected]>
commit sha c43f0e601efc2b74c4c3536a24add7be2462650b
raftstore: Use RocksEngine instead of raw types in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha 0a85db985521e595e5993ec72f49d5d3ae85fd18
engine_traits: Add get_range_cf_entries_and_versions to MiscExt Signed-off-by: Brian Anderson <[email protected]>
commit sha ac605cda69ada6266bf952ea9a35b44a02e033b0
raftstore: Use get_range_entries_and_versions in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha 5f6c131cfa43a6318237aa7906d9fd603d6c9360
raftstore: Use engine_test instead of engine_rocks in compact mod Signed-off-by: Brian Anderson <[email protected]>
commit sha 3cadbfe2d800bc4ccc9e0f39176cd6a6cdef37b9
raftstore: Use get_range_entries_and_versions Signed-off-by: Brian Anderson <[email protected]>
commit sha 470d25bf07d6cb8ee2597cb8a77d7d0a107dc75e
engine_traits: Add get_cf_num_files_at_level to MiscExt Signed-off-by: Brian Anderson <[email protected]>
commit sha 2731571b35e3737a6401d4d9e25b189b1d34be35
raftstore: Use get_cf_num_files_at_level from traits Signed-off-by: Brian Anderson <[email protected]>
commit sha 6dae7a95a3560911ef79c81958958fdf0eb58a2b
raftstore: Fix non-abstract use of test engines Signed-off-by: Brian Anderson <[email protected]>
push time in a month
PR opened tikv/tikv
What problem does this PR solve?
Part of engine abstraction https://github.com/tikv/tikv/issues/6402
What is changed and how it works?
Change a few modules in the tikv crate to use engine_traits traits instead of engine_rocks
Related changes
https://github.com/tikv/tikv/issues/6402
Check List <!--REMOVE the items that are not applicable-->
Release note <!-- bugfixes or new feature need a release note -->
- No release note
pr created time in a month
push eventbrson/tikv
commit sha 0d7d0fcdaf40b69b162865676ec60c511828ab1e
Turn CompactedEvent into a trait (#8601) * engine_rocks: Rename CompactedEvent to RocksCompactedEvent Signed-off-by: Brian Anderson <[email protected]> * engine_traits: Add CompactedEvent trait Signed-off-by: Brian Anderson <[email protected]> * raftstore: Use abstract CompactedEvent Signed-off-by: Brian Anderson <[email protected]> * engine_traits: Add cf method to CompactedEvent Signed-off-by: Brian Anderson <[email protected]> * raftstore: Parameterize StoreMsg over EK Signed-off-by: Brian Anderson <[email protected]> * engine_traits: Make CompactedEvent Send Signed-off-by: Brian Anderson <[email protected]> * raftstore: Parameterize StoreFsm and StoreRouter over EK Signed-off-by: Brian Anderson <[email protected]> * rustfmt Signed-off-by: Brian Anderson <[email protected]> * engine_rocks: clippy Signed-off-by: Brian Anderson <[email protected]> * rustfmt Signed-off-by: Brian Anderson <[email protected]>
commit sha 0a4af8218b418aab801d118fc7e146f5123db11f
Upgrade grpcio and remove future compat (#8625) Signed-off-by: Xintao <[email protected]>
commit sha 94426670fdf88694eb5e82671bdd136b3ce99e7e
txn: move commit to action.rs (#8617) * move commit to action.rs Signed-off-by: longfangsong <[email protected]> * move tests Signed-off-by: longfangsong <[email protected]> * Apply suggestions from reviewing. Signed-off-by: longfangsong <[email protected]>
commit sha 4a826f4f6f0b96e9f27115a70277e8af110d7a26
txn: fix the wrong min_commit_ts returned by prewrite (#8657) Signed-off-by: Yilin Chen <[email protected]>
commit sha 4f03ef8064c67277b466f62e1c5e23cf10d1d1f0
Fix histogram name for unsafe_destroy_range (#8660) Signed-off-by: Xintao <[email protected]>
commit sha 3251c727b8a907d6f1a1619a393215653d510d53
sst_importer: add delete type key for sst importer writer (#8624) Signed-off-by: luancheng <[email protected]>
commit sha d9df87badf18ca5262cecaf02520a7099e7ae3da
Move yatp pool to tikv_util (#8658) * move yatp pool to tikv_util Signed-off-by: Little-Wallace <[email protected]>
commit sha fbf0936bed8a2424347140115c99f070cf34ab9e
txn: update max_ts when protected rollback or returning values by AcquirePessimiticLock (#8584) Signed-off-by: Yilin Chen <[email protected]>
commit sha c94cefac3560a207a6da28cb48ca9aee7bf57b48
raftstore: do not sync wal in apply when compact log (#8668) * do not sync frequently in apply Signed-off-by: Little-Wallace <[email protected]>
commit sha 8b1b2e65bb32acfa48519f0a06ad9774581e30b9
txn: fix min_commit_ts calculation in prewrite (#8672) Signed-off-by: Yilin Chen <[email protected]>
commit sha dcd2f8f4076d847151fdf58e9c0ba333f242d374
raftstore: upgrade the raft-rs dependency (#8665) * update raft-rs Signed-off-by: linning <[email protected]>
commit sha 41d3ef78fcb3534a6acfe21b228fcdd78c7fd791
improve configuration check about raft engine (#8656) Signed-off-by: qupeng <[email protected]>
commit sha fe108f77898cf5ac5d7b99064d36990e315326b1
tests: add some failpoints tests for updating max ts and setting memory lock (#8679) Signed-off-by: Yilin Chen <[email protected]>
commit sha df84f0b282870b8160f94fd4579d06e141832148
storage: add some top-level docs (#8684) Signed-off-by: Nick Cameron <[email protected]>
commit sha 295d4d4bf22f31a78cc4c2b20971e2647500fa89
tikv_util: use tokio runtime as FutureWorker runner (#8687) Signed-off-by: Yilin Chen <[email protected]>
commit sha 932568b8d74f3022007d61ff6901835e3facc5a3
cdc: buffer messages and flush them at once (#8655) Signed-off-by: Neil Shen <[email protected]>
commit sha 902707a75682ada8292a7f635b15e05402ca4eba
Fix test_raft_client_reconnect by shutdown mockserver before restart (#8693) Signed-off-by: Xintao <[email protected]>
commit sha c4c48d7489edf7f07617076920c6b613ead91066
*: remove deprecated threadpool (#8682) Signed-off-by: Jay Lee <[email protected]>
commit sha 04d73cec50642aa80ae288368254efca2330d0bd
raftclient: use std future (#8663) This PR uses latest API from grpcio and utilizes std futures. In addition, it also fixes wrong size calculation found in #8591 and add missing failpoints. Signed-off-by: Jay Lee <[email protected]>
commit sha 9a81ea6bb70cba355fc669b4f92eb017b511cf0b
Makefile: remove duplicated test cases (#8688) PR #8638 adds duplicated test cases by running cdc tests again. This PR remove the duplicated cases by package features of cargo. It also removes the need to recompiling tests again. Signed-off-by: Jay Lee <[email protected]>
push time in a month
push eventbrson/tikv
commit sha 675715e0ecbd2d3bef6249001210d32df29ccf5f
engine_test: Add new_temp_engine Signed-off-by: Brian Anderson <[email protected]>
commit sha 7a613550e56bedbc38a3a66da0159f6297c226a4
raftstore: Use generics in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha 124d38b2697106b7289e3c8ba5f4314ca4b77c29
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
push time in a month
push eventbrson/tikv
commit sha 8f7c167b5eb5197b87f7533f03ef8d84f03c3b14
raftstore: Use generics in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha 534eccd998ad71e901b97e3c2acab84bd68bb454
raftstore: Use generics in tests Signed-off-by: Brian Anderson <[email protected]>
commit sha a62c588b9fdf3cba08c8d552f63b0baa3934d8fb
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha a3b7b6379f9f23865d28515494f29fe73a1bdfd8
engine_panic: Implement RaftEngine traits Signed-off-by: Brian Anderson <[email protected]>
commit sha ee3559d8d3b824421c41107bba9acdf942d7426f
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
push time in a month
push eventbrson/tikv
commit sha 21eb6c9c9875b90746938a46581a6b16afbfe29f
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 0a2287537592414e8f537c9d32a3a6cf271b7ba0
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha 09eb40838fe4ea6fe1a95a067221be49959997f8
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
push time in a month
push eventbrson/tikv
commit sha 12b450a883f19b192ddb2345b09b6b24e4c59f8a
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
commit sha 7ffe05bdadb698cf81fcad1aac02ca84acfa6b9a
raftstore: Use KvTestEngine instead of RocksEngine Signed-off-by: Brian Anderson <[email protected]>
commit sha 055d182b94f2f64498bf84bc72333efd4d4af569
engine_test: reexport WriteBatch as KvTestWriteBatch/RaftTestWriteBatch Signed-off-by: Brian Anderson <[email protected]>
commit sha 2e26467e7b0258173a57296c0e5e8388c354a639
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
commit sha bc370c28c2738956be306e953fa88b3dbcb972df
raftstore: Convert to engine_test Signed-off-by: Brian Anderson <[email protected]>
push time in a month
pull request commenttikv/tikv
Turn CompactedEvent into a trait
cc @5kbpers
comment created time in a month
pull request commenttikv/tikv
Turn CompactedEvent into a trait
Merged with master and fixed the clippy error.
comment created time in a month
push eventbrson/tikv
commit sha 6c5f0e7ec05561c260ef8b8e5146cbf689955a0e
storage: Add perf statistics for scan detail (#8510) Signed-off-by: Connor <[email protected]>
commit sha f50607a923b2162b64533947aca18ee47ee22cd7
pd_client: fix deadlock between reconnect and sync_request (#8611) Signed-off-by: youjiali1995 <[email protected]>
commit sha 416c922f5e3dec7c652359e8576fba94022edf62
txn: allow non-zero caller_start_ts or current_ts (#8613) Signed-off-by: Yilin Chen <[email protected]>
commit sha a562e0de60aa6e73b1796ad8d9a7b45287401044
Upgrade future for lib and cmd (step 1) (#8550) Signed-off-by: Xintao <[email protected]> Co-authored-by: Nick Cameron <[email protected]>
commit sha f2ab51178bd42a3769efe0e44cd4abff09cfed36
error-code: support to generate metafile (#8609) * add error code gen Signed-off-by: 5kbpers <[email protected]> * error-code: support to generate meta file Signed-off-by: 5kbpers <[email protected]> * update error code format Signed-off-by: 5kbpers <[email protected]> * address comments Signed-off-by: 5kbpers <[email protected]> Co-authored-by: ti-srebot <[email protected]>
commit sha a711ec929024c411cb3e6bfcf3d5b0e270ebae66
cdc: reduce the message of advancing resolved ts (#8442) * cdc: reduce the message of advancing resolved ts Signed-off-by: 5kbpers <[email protected]> * fix build Signed-off-by: 5kbpers <[email protected]> * update kvproto Signed-off-by: 5kbpers <[email protected]> * integration test Signed-off-by: 5kbpers <[email protected]> * update kvproto Signed-off-by: 5kbpers <[email protected]> * update kvproto Signed-off-by: 5kbpers <[email protected]> * switch kvproto Signed-off-by: 5kbpers <[email protected]> * disable prefix scan for old value reader Signed-off-by: 5kbpers <[email protected]> * use protobuf::Message::compute_size to compute event size Signed-off-by: 5kbpers <[email protected]> * address comments Signed-off-by: 5kbpers <[email protected]> * address comments Signed-off-by: 5kbpers <[email protected]> * use futures::join_all Signed-off-by: 5kbpers <[email protected]> * address comment Signed-off-by: 5kbpers <[email protected]> * address comment Signed-off-by: 5kbpers <[email protected]> * address comment Signed-off-by: 5kbpers <[email protected]> * address comment Co-authored-by: Neil Shen <[email protected]> Signed-off-by: 5kbpers <[email protected]> * address comment Co-authored-by: Neil Shen <[email protected]> Signed-off-by: 5kbpers <[email protected]> * address comment Signed-off-by: 5kbpers <[email protected]> * fix unstable tests Signed-off-by: 5kbpers <[email protected]> * make clippy happy Signed-off-by: 5kbpers <[email protected]> * stablize tests Signed-off-by: 5kbpers <[email protected]> Co-authored-by: Neil Shen <[email protected]> Co-authored-by: ti-srebot <[email protected]>
commit sha 46ef5a770fd6ac9f08532c014c5ec2172dc706fb
replace RocksEngine with RaftEngine in cmd (#8607) Signed-off-by: qupeng <[email protected]>
commit sha 39909f7624f03f6c3d742408de114cffe232d890
txn: use crossbeam-skiplist as the lock table implementation (#8608) Signed-off-by: Yilin Chen <[email protected]>
commit sha 25465081b28efb0005f53e86ce180163201c7ee8
Upgrade future for lib and cmd (step 2) (#8597) Signed-off-by: Xintao <[email protected]>
commit sha 3f94eb8d1e8f254d184eb2070c4a6f4e98c6b675
*: output error code to error logs (#8595) Signed-off-by: 5kbpers <[email protected]>
commit sha c562464e6de7e8e347d33b1ab2831d52fa7d822b
fix miss qps statistic (#8596) Signed-off-by: lhy1024 <[email protected]>
commit sha f272601f7552d8d493550f643735e2b40bbf3fbc
txn: allow async commit by default (#8630) Signed-off-by: Yilin Chen <[email protected]>
commit sha 89e0e961e526e36949fb0ab55a6402e3f82a027b
cdc: check request version (#8623) * cdc: check request version * print unknown events * update kvproto Signed-off-by: Neil Shen <[email protected]>
commit sha 5496d07123c79f03a4ecaaa7273450ac68f09332
Remove sync-log config option (#8631) Signed-off-by: Xintao <[email protected]>
commit sha 03c3ec61d0be971f66f0268f249e2481cab18742
raftstore: Remove future_poller pool and batch Ticks (#8457) Signed-off-by: Little-Wallace <[email protected]>
commit sha 5a9ae6b7fc48564819d259eb2bc1fff3b99ac023
engine: add tikv_engine_blob_cache_size_bytes metrics (#8616) Signed-off-by: Rustin-Liu <[email protected]>
commit sha b00413259ed68cc1b8074b2f705ba09210c18783
cdc: enable failpoint tests (#8638) Signed-off-by: Neil Shen <[email protected]>
commit sha dbb2174c3382fcb3b254b56c00765b264e425a57
cdc: fix the ordering of batch events (#8629) Signed-off-by: 5kbpers <[email protected]>
commit sha f2e22770b2511f8a8a209da40f80191dea7c87a8
txn: fix returned action in check async commit txn status (#8643) Signed-off-by: Yilin Chen <[email protected]>
commit sha 206f37ff53b43e1286542a976b802775f2f68167
Status server: avoid server shutdown caused by TLS handshake failure (#8649) Signed-off-by: Xintao <[email protected]>
push time in a month
push eventbrson/tikv
commit sha c4b7e8fa20f8f2022e634c445a53212b54e8f016
raftstore: destroy process must be asynchronous if peer is initialized (#8455) Signed-off-by: Liqi Geng <[email protected]>
commit sha 790f53e977085b84631a6336313173f32d215e4d
Fix incorrect processed / total keys counter (#7563) Signed-off-by: Breezewish <[email protected]>
commit sha 63fe83eab41c3b07fa669c176ac0d7583cd94b11
*: update max ts when a peer becomes leader or after region merge (#8468) Signed-off-by: Yilin Chen <[email protected]>
commit sha e090563d15de5c355d3c7aa5b0bf86bed47b070e
server: implement full raft client (#8498) This is the second PR extracted from #6228. See also #8475. This PR adds the missing implement of raft client. Signed-off-by: Jay Lee <[email protected]>
commit sha abb88cf2ad3ee2bf8a0e65ccc21836b354fd4a17
raftstore: use binary search to find the proposed time (#8477) * use binary search to find propose time Signed-off-by: linning <[email protected]>
commit sha d4b9ba160e69c75c73b2a0a2661695de7a2dc9c1
raftstore: Refactor type parameter of apply to make code clear (#8487) Signed-off-by: Little-Wallace <[email protected]>
commit sha 32925878e14a46b4bf8f954d858106eb32488459
copr: add benchmark for chunk-based computing (#8503) Signed-off-by: Alex Chi <[email protected]>
commit sha 45fab5cc89b365d849d249603c7ce7c70eff1654
txn: Move several MvccTxn functions to command (#8435) Signed-off-by: longfangsong <[email protected]>
commit sha 781f0a83beaad27cab0dc71ac5a6044de1678a83
Remove remaining uses of RocksEngine in raftstore (#8507) Signed-off-by: Brian Anderson <[email protected]>
commit sha 87437bad05ea20910cd3aff66d4022ac8638e865
Upgrade future for tikv_util (step 1) (#8494) * This PR updates `components/tikv_util/src/future.rs` and impl `From` to `Either` from futures 0.3. Signed-off-by: Xintao <[email protected]>
commit sha 46ab9542908bc43ab04917e0c5d827b459874de1
txn: check whether max timestamp is up-to-date in async-commit prewrite (#8508) Signed-off-by: Yilin Chen <[email protected]>
commit sha 15c15b512c95465ff78a990451e5bbe6084a6b3a
fix test_destroy_local_reader (#8515) Signed-off-by: linning <[email protected]>
commit sha 934d9d88515ac251f8897364619829d5e2f2cc05
copr: fix deadline detection test: `test_deadline_3` (#8521) Signed-off-by: iosmanthus <[email protected]>
commit sha 71ed7b10fd494ea0be69a0258a53a0282e80d20e
tests: transfer leader to node 1 first to make sync max ts tests stable (#8525) Signed-off-by: Yilin Chen <[email protected]>
commit sha b34cab6e413764c67d1ab9b194d9422173a5f330
copr: migrate builtin functions from non-vec framework to the vec one (#8418) Signed-off-by: Renkai <[email protected]>
commit sha 6fa68f493d6f3a743848adb719fb0b833abac680
test: fix test_notify_observer_after_apply (#8533) Signed-off-by: youjiali1995 <[email protected]>
commit sha f5a11345d9fe72fdecfeab7f704476254ccb8cb4
config: check if current config is the equivalent of last one (#8466) If current config is the equivalent of last one while startup, use last one directly instead of writing current one to the file. Signed-off-by: gentcys <[email protected]>
commit sha 410fb55ad2c9518f3f2262680c8ac5c643ef8a1c
config: error on unrecognized flags in --config-check (#8194) Using the serde_ignored package, we can find out unrecognized key paths in the TOML file. Thus --config-check is enhanced to reject them. Signed-off-by: kennytm <[email protected]>
commit sha 831f77f341ddf14faf3c372241452dbf0f9a23ec
txn: return lock info in CheckTxnStatus (#8529) Signed-off-by: Yilin Chen <[email protected]>
commit sha f456abae9e5c5cb72f4a8e502e393c5f382c92f6
charset: support utf8mb4_unicode_ci collation (#8420) Signed-off-by: jwxiong <[email protected]>
push time in a month
push eventbrson/brson.github.com
commit sha 98a722cb1cdac33659340a4e8e83df3c1ad13793
.
push time in a month
push eventbrson/brson.github.com
commit sha 33975e59dc712b3a02de6f3f23ac4ea74829ea59
.
push time in a month
push eventbrson/brson.github.com
commit sha badd1902e742a220b46d0f1ced09d86162a3fec7
typos
push time in a month
push eventbrson/brson.github.com
commit sha bde1c4abe9b9fb9eb8099b77359c4a60bb9e9907
Add near post
push time in a month
push eventbrson/brson.github.com
commit sha 29c97b9ec24cc380e3a9aae8747296a207f611ca
.
push time in a month