Skip to content

Commit

Permalink
test art
Browse files Browse the repository at this point in the history
Signed-off-by: you06 <you1474600@gmail.com>

bazel

Signed-off-by: you06 <you1474600@gmail.com>

support snapshot (reverse) iter

Signed-off-by: you06 <you1474600@gmail.com>

fix long prefix search

Signed-off-by: you06 <you1474600@gmail.com>

fix bugs...

Signed-off-by: you06 <you1474600@gmail.com>

fix error when setting empty value

Signed-off-by: you06 <you1474600@gmail.com>

fix bug when mismatchIdx > maxPrefixLen

Signed-off-by: you06 <you1474600@gmail.com>

fix seek bug in art

Signed-off-by: you06 <you1474600@gmail.com>

fix seek bug

Signed-off-by: you06 <you1474600@gmail.com>

fix art's len and size

Signed-off-by: you06 <you1474600@gmail.com>

fix dirty and len

Signed-off-by: you06 <you1474600@gmail.com>

fix iterator checking prefix

Signed-off-by: you06 <you1474600@gmail.com>

support checkpoint & fix iter seek

Signed-off-by: you06 <you1474600@gmail.com>

support value size limit

Signed-off-by: you06 <you1474600@gmail.com>

add random test & fix bug

Signed-off-by: you06 <you1474600@gmail.com>

add random staging test

Signed-off-by: you06 <you1474600@gmail.com>

add random flag iter test

Signed-off-by: you06 <you1474600@gmail.com>

fix iter

Signed-off-by: you06 <you1474600@gmail.com>

set value for

Signed-off-by: you06 <you1474600@gmail.com>

set delete flag for cleanup node

Signed-off-by: you06 <you1474600@gmail.com>

fix flag

Signed-off-by: you06 <you1474600@gmail.com>

bazel

Signed-off-by: you06 <you1474600@gmail.com>

accelarate init iterator

Signed-off-by: you06 <you1474600@gmail.com>

update client-go

Signed-off-by: you06 <you1474600@gmail.com>

opt minimum

Signed-off-by: you06 <you1474600@gmail.com>

remove unnecessary check & use unsafe.Sizeof

Signed-off-by: you06 <you1474600@gmail.com>

remove unnecessary check in minimum

Signed-off-by: you06 <you1474600@gmail.com>

remove unused present for n4 and n16 & enlarge in-node prefix

Signed-off-by: you06 <you1474600@gmail.com>

fast search for n256

Signed-off-by: you06 <you1474600@gmail.com>

test refactored memdb

Signed-off-by: you06 <you1474600@gmail.com>

fix SnapshotIterReverse

Signed-off-by: you06 <you1474600@gmail.com>

test memdb cache fix

Signed-off-by: you06 <you1474600@gmail.com>
  • Loading branch information
you06 committed Aug 27, 2024
1 parent 4f85a35 commit 9c53cff
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
12 changes: 6 additions & 6 deletions DEPS.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7206,13 +7206,13 @@ def go_deps():
name = "com_github_tikv_client_go_v2",
build_file_proto_mode = "disable_global",
importpath = "github.com/tikv/client-go/v2",
sha256 = "2c26a7a94e44e2aae520f2013f8d738c5c5f1fb9f70b76894843f6827ce945f7",
strip_prefix = "github.com/tikv/client-go/v2@v2.0.8-0.20240821073530-75e3705e58f1",
sha256 = "e743509ca64a7bf3c4bccf5343385ed44e01c7d5cadc94a27b5341749e8d68dd",
strip_prefix = "github.com/you06/client-go/v2@v2.0.0-alpha.0.20240827080954-d1db3b190fac",
urls = [
"http://bazel-cache.pingcap.net:8080/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240821073530-75e3705e58f1.zip",
"http://ats.apps.svc/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240821073530-75e3705e58f1.zip",
"https://cache.hawkingrei.com/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240821073530-75e3705e58f1.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/tikv/client-go/v2/com_github_tikv_client_go_v2-v2.0.8-0.20240821073530-75e3705e58f1.zip",
"http://bazel-cache.pingcap.net:8080/gomod/github.com/you06/client-go/v2/com_github_you06_client_go_v2-v2.0.0-alpha.0.20240827080954-d1db3b190fac.zip",
"http://ats.apps.svc/gomod/github.com/you06/client-go/v2/com_github_you06_client_go_v2-v2.0.0-alpha.0.20240827080954-d1db3b190fac.zip",
"https://cache.hawkingrei.com/gomod/github.com/you06/client-go/v2/com_github_you06_client_go_v2-v2.0.0-alpha.0.20240827080954-d1db3b190fac.zip",
"https://storage.googleapis.com/pingcapmirror/gomod/github.com/you06/client-go/v2/com_github_you06_client_go_v2-v2.0.0-alpha.0.20240827080954-d1db3b190fac.zip",
],
)
go_repository(
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -336,3 +336,5 @@ replace (
sourcegraph.com/sourcegraph/appdash => github.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0
sourcegraph.com/sourcegraph/appdash-data => github.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67
)

replace github.com/tikv/client-go/v2 => github.com/you06/client-go/v2 v2.0.0-alpha.0.20240827080954-d1db3b190fac
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -856,8 +856,6 @@ github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a h1:J/YdBZ46WKpXsxsW
github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a/go.mod h1:h4xBhSNtOeEosLJ4P7JyKXX7Cabg7AVkWCK5gV2vOrM=
github.com/tidwall/btree v1.7.0 h1:L1fkJH/AuEh5zBnnBbmTwQ5Lt+bRJ5A8EWecslvo9iI=
github.com/tidwall/btree v1.7.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY=
github.com/tikv/client-go/v2 v2.0.8-0.20240821073530-75e3705e58f1 h1:QivCyAQxBOrXWC9X1/yc9U3Hw45usVnicjOg7T/rpgE=
github.com/tikv/client-go/v2 v2.0.8-0.20240821073530-75e3705e58f1/go.mod h1:4HDOAx8OXAJPtqhCZ03IhChXgaFs4B3+vSrPWmiPxjg=
github.com/tikv/pd/client v0.0.0-20240805092608-838ee7983b78 h1:PtW+yTvs9eGTMblulaCHmJ5OtifuE4SJXCACCtkd6ko=
github.com/tikv/pd/client v0.0.0-20240805092608-838ee7983b78/go.mod h1:TxrJRY949Vl14Lmarx6hTNP/HEDYzn4dP0KmjdzQ59w=
github.com/timakin/bodyclose v0.0.0-20240125160201-f835fa56326a h1:A6uKudFIfAEpoPdaal3aSqGxBzLyU8TqyXImLwo6dIo=
Expand Down Expand Up @@ -892,6 +890,8 @@ github.com/xitongsys/parquet-go-source v0.0.0-20190524061010-2b72cbee77d5/go.mod
github.com/xitongsys/parquet-go-source v0.0.0-20200817004010-026bad9b25d0 h1:a742S4V5A15F93smuVxA60LQWsrCnN8bKeWDBARU1/k=
github.com/xitongsys/parquet-go-source v0.0.0-20200817004010-026bad9b25d0/go.mod h1:HYhIKsdns7xz80OgkbgJYrtQY7FjHWHKH6cvN7+czGE=
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
github.com/you06/client-go/v2 v2.0.0-alpha.0.20240827080954-d1db3b190fac h1:MTWogVURtmjmEDauh/mLaAn/A4MEDeqyD+65Kix6ARY=
github.com/you06/client-go/v2 v2.0.0-alpha.0.20240827080954-d1db3b190fac/go.mod h1:4HDOAx8OXAJPtqhCZ03IhChXgaFs4B3+vSrPWmiPxjg=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down

0 comments on commit 9c53cff

Please sign in to comment.