-
Notifications
You must be signed in to change notification settings - Fork 603
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
[CORE-8848] rptest
: adjust compaction settings in datalake/compaction_test
#25075
[CORE-8848] rptest
: adjust compaction settings in datalake/compaction_test
#25075
Conversation
Retry command for Build#61801please wait until all jobs are finished before running the slash command
|
CI test resultstest results on build#61801
test results on build#61807
test results on build#61813
test results on build#61823
|
Because we now schedule adjacent segment compaction after sliding window compaction, this test was having trouble trying to reach the desired number of segments while producing. Increase the timeout as well as the `log_compaction_interval_ms` to allow the test to reach the desired number of segments.
57d7ac8
to
a2fe061
Compare
/ci-repeat 1 |
@bharathv the timeout issues in
Separate issue? |
I think compute_storage.py should look like try:
return [f for f in p.iterdir()]
except FileNotFoundError:
return []
except NotADirectoryError:
return [] but I'm not sure yet, quite tired |
Force push to:
|
@@ -69,7 +69,7 @@ def __iter__(self) -> Iterator[Header]: | |||
|
|||
def safe_isdir(p: Path) -> bool: | |||
""" | |||
It's valid for files to be deleted at any time, | |||
It's valid for files to be deleted at any time, |
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.
trailing whitespace removal
@@ -81,10 +81,13 @@ def safe_isdir(p: Path) -> bool: | |||
|
|||
def safe_listdir(p: Path) -> list[Path]: | |||
""" | |||
It's valid for directories to be deleted at any time, | |||
It's valid for directories to be deleted at any time, |
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.
trailing whitespace removal
I think we should also add "datalake_staging" to this list here, it was recently moved under the data directory. |
The `datalake_staging` folder was recently moved under the redpanda data directory. It should not be considered as a namespace in `compute_size()`.
Awesome, added. |
Because we now schedule adjacent segment compaction after sliding window compaction, this test was having trouble trying to reach the desired number of segments while producing.
Increase the timeout as well as the
log_compaction_interval_ms
to allow the test to reach the desired number of segments.Backports Required
Release Notes