-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: upgrade foyer to 0.11.3 #18313
Changes from 6 commits
35a9938
d54eb10
9d31b15
c54232b
3a05079
bb00a3f
d7ffbe0
a650e5a
9a9178c
bec63ad
e4481a9
e259701
21337d7
27edaba
54d130d
8b7b02f
a364dbf
3157e66
555be2e
3eeb011
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,10 @@ license = "Apache-2.0" | |
repository = "https://github.com/risingwavelabs/risingwave" | ||
|
||
[workspace.dependencies] | ||
foyer = { version = "0.10.4", features = ["nightly", "mtrace"] } | ||
foyer = { git = "https://github.com/foyer-rs/foyer", rev = "7eeb783", features = [ | ||
"mtrace", | ||
"nightly", | ||
] } | ||
apache-avro = { git = "https://github.com/risingwavelabs/avro", rev = "25113ba88234a9ae23296e981d8302c290fdaa4b", features = [ | ||
"snappy", | ||
"zstandard", | ||
|
@@ -181,10 +184,10 @@ tikv-jemallocator = { git = "https://github.com/risingwavelabs/jemallocator.git" | |
"stats", | ||
], rev = "64a2d9" } | ||
# TODO(http-bump): bump to use tonic 0.12 once minitrace-opentelemetry is updated | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can remove this |
||
opentelemetry = "0.23" | ||
opentelemetry-otlp = "0.16" | ||
opentelemetry_sdk = { version = "0.23", default-features = false } | ||
opentelemetry-semantic-conventions = "0.15" | ||
opentelemetry = "0.24" | ||
opentelemetry-otlp = "0.17" | ||
opentelemetry_sdk = { version = "0.24", default-features = false } | ||
opentelemetry-semantic-conventions = "0.16" | ||
parking_lot = { version = "0.12", features = [ | ||
"arc_lock", | ||
"deadlock_detection", | ||
|
@@ -195,10 +198,24 @@ sea-orm = { version = "0.12.14", features = [ | |
"sqlx-sqlite", | ||
"runtime-tokio-native-tls", | ||
] } | ||
sqlx = { version = "0.7.3", default-features = false, features = ["bigdecimal", "chrono", "json", "mysql", "postgres", "runtime-tokio-native-tls", "rust_decimal", "sqlite", "time", "uuid"] } | ||
tokio-stream = { git = "https://github.com/madsim-rs/tokio.git", rev = "0dd1055", features = ["net", "fs"] } | ||
sqlx = { version = "0.7.3", default-features = false, features = [ | ||
"bigdecimal", | ||
"chrono", | ||
"json", | ||
"mysql", | ||
"postgres", | ||
"runtime-tokio-native-tls", | ||
"rust_decimal", | ||
"sqlite", | ||
"time", | ||
"uuid", | ||
] } | ||
tokio-stream = { git = "https://github.com/madsim-rs/tokio.git", rev = "0dd1055", features = [ | ||
"net", | ||
"fs", | ||
] } | ||
tokio-util = "0.7" | ||
tracing-opentelemetry = "0.24" | ||
tracing-opentelemetry = "0.25" | ||
rand = { version = "0.8", features = ["small_rng"] } | ||
risingwave_backup = { path = "./src/storage/backup" } | ||
risingwave_batch = { path = "./src/batch" } | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -171,9 +171,13 @@ reclaimers = 4 | |
recover_concurrency = 8 | ||
insert_rate_limit_mb = 0 | ||
indexer_shards = 64 | ||
compression = "none" | ||
compression = "None" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is lower cased string still supported? (I don't care. Just ask) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, but I think nobody is using this field for now. And none is the default configuration. It's okay to switch to serde defauts now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. case-insensive config is slightly more user-friendly to me (both OK). But it seems other options (like There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 Let me try. |
||
recover_mode = "None" | ||
|
||
[storage.data_file_cache.runtime_config.Unified] | ||
worker_threads = 0 | ||
max_blocking_threads = 0 | ||
|
||
[storage.meta_file_cache] | ||
dir = "" | ||
capacity_mb = 1024 | ||
|
@@ -183,9 +187,13 @@ reclaimers = 4 | |
recover_concurrency = 8 | ||
insert_rate_limit_mb = 0 | ||
indexer_shards = 64 | ||
compression = "none" | ||
compression = "None" | ||
recover_mode = "None" | ||
|
||
[storage.meta_file_cache.runtime_config.Unified] | ||
worker_threads = 0 | ||
max_blocking_threads = 0 | ||
|
||
[storage.cache_refill] | ||
data_refill_levels = [] | ||
timeout_ms = 6000 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's no release on crates.io?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#18313 (comment)
Here. 🤣 I'm waiting for all related bugs are fixed.