-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
[FLINK-35579] update frocksdb version to v8.10.0 #25253
Conversation
@flinkbot run azure |
Is the CI failure related with compilation or release of the frocksdb? |
@Zakelly The compilation looks fine
And another is UT
I'll try to reproduce it on my local machine and figure out how to fix it |
|
This is because when run e2e test, the directory of rocksdb log will be specified as |
f7b337d
to
2b39c27
Compare
@flinkbot run azure |
@Zakelly the CI can pass now , I've two minor changes , please take a look |
@@ -296,7 +296,7 @@ function relocate_rocksdb_logs { | |||
# After FLINK-24785, RocksDB's log would be created under Flink's log directory by default, | |||
# this would make e2e tests' artifacts containing too many log files. | |||
# As RocksDB's log would not help much in e2e tests, move the location back to its own folder. | |||
set_config_key "state.backend.rocksdb.log.dir" "/dev/null" | |||
set_config_key "state.backend.rocksdb.log.dir" "/tmp" |
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.
I'm a little worried that this would lead to many files in "/tmp" and disk space run out in CI machine. Is there any way we disable the log?
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.
I think we can set state.backend.rocksdb.log.level
to HEADER_LEVEL
, in that case RocksDB Log file will be very small
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.
But it still creates the log file, right? So /tmp
will still accumulate trash log files. How about setting log level to header
and keeping them in Flink's log directory?
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.
But it still creates the log file, right? So
/tmp
will still accumulate trash log files. How about setting log level toheader
and keeping them in Flink's log directory?
yeah, that's what I mean !
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.
@Zakelly I've updated the PR and the CI has passed now, can you take a look
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.
LGTM, thanks for the effort!
What is the purpose of the change
(For example: This pull request makes task deployment go through the blob server, rather than through RPC. That way we avoid re-transferring them on each deployment (during recovery).)
Brief change log
(for example:)
Verifying this change
Please make sure both new and modified tests in this PR follow the conventions for tests defined in our code quality guide.
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (yes / no)Documentation