Skip to content

Limit loadtest file creation with MaxFileCount#6549

Open
szumal wants to merge 11 commits into
mainfrom
users/szumal/add-max-file-count-to-loadtest
Open

Limit loadtest file creation with MaxFileCount#6549
szumal wants to merge 11 commits into
mainfrom
users/szumal/add-max-file-count-to-loadtest

Conversation

@szumal

@szumal szumal commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Notes

This is a follow up to #6493 where I introduced a DiagnoseFilesystem command. In order to test it, the loadtest should create a known number of files, which currently is unbounded.

Issue

#6208

@github-actions

Copy link
Copy Markdown
Contributor

Hi! Thank you for contributing!
The tests on this PR will run after a maintainer adds an ok-to-test label to this PR manually. Thank you for your patience!

@szumal
szumal marked this pull request as draft July 17, 2026 13:46
@szumal szumal changed the title Limiting loadtest file creation with MaxFileCount Limit loadtest file creation with MaxFileCount Jul 17, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3aa57eec04

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread cloud/filestore/tools/testing/loadtest/lib/request_replay_grpc.cpp Outdated
Comment thread cloud/filestore/tools/testing/loadtest/lib/request_replay_fs.cpp Outdated
@szumal szumal self-assigned this Jul 17, 2026
@szumal
szumal force-pushed the users/szumal/add-max-file-count-to-loadtest branch from ea3cd58 to 8466153 Compare July 17, 2026 15:12
@szumal
szumal force-pushed the users/szumal/add-max-file-count-to-loadtest branch from 8466153 to f0fe4ce Compare July 17, 2026 15:19
@szumal
szumal marked this pull request as ready for review July 17, 2026 16:26
@qkrorlqr qkrorlqr added the ok-to-test Label to approve test launch for external members label Jul 17, 2026
@github-actions github-actions Bot removed the ok-to-test Label to approve test launch for external members label Jul 17, 2026
@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/ (test time: 257s): all tests PASSED for commit 54751bc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1215 1215 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 264s): all tests PASSED for commit 54751bc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1572 1572 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1154s): all tests PASSED for commit 54751bc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6831 6830 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 4587s): all tests PASSED for commit 54751bc.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4351 4351 0 0 0 0 0

Comment thread cloud/filestore/tools/testing/loadtest/lib/file_creation_limiter.h Outdated
Comment thread cloud/filestore/tools/testing/loadtest/lib/count_limiter.h Outdated
Comment thread cloud/filestore/tools/testing/loadtest/lib/count_limiter.h Outdated
Comment thread cloud/filestore/tools/testing/loadtest/lib/count_limiter.h Outdated
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@szumal
szumal requested a review from ruslan-gar July 20, 2026 15:02
@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/ (test time: 262s): all tests PASSED for commit 1957b8c.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1215 1215 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 271s): all tests PASSED for commit 1957b8c.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1572 1572 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1488s): all tests PASSED for commit 1957b8c.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6831 6830 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5115s): all tests PASSED for commit 1957b8c.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4351 4351 0 0 0 0 0

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/ (test time: 266s): all tests PASSED for commit 6c7072d.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1215 1215 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 285s): all tests PASSED for commit 6c7072d.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1572 1572 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1487s): all tests PASSED for commit 6c7072d.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6831 6830 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5068s): all tests PASSED for commit 6c7072d.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4351 4351 0 0 0 0 0


// Maximum number of regular files created by this synthetic load test.
// Zero means unlimited. Ignored by replay specs.
uint64 MaxFileCount = 22;

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now this

looks redundant

let's delete TIndexLoadSpec::MaxNodes and rename this MaxFileCount parameter to MaxNodes

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Note

This is an automated comment that will be appended during run.

Note

All workloads for linux-x86_64-relwithdebinfo have completed.

Tip

Planned checks for linux-x86_64-relwithdebinfo.

🟢 linux-x86_64-relwithdebinfo target: cloud/tasks/,cloud/storage/ (test time: 261s): all tests PASSED for commit fcc1885.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1215 1215 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/disk_manager/ (test time: 277s): all tests PASSED for commit fcc1885.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
1572 1572 0 0 0 0 0

🟢 linux-x86_64-relwithdebinfo target: cloud/blockstore/ (test time: 1400s): all tests PASSED for commit fcc1885.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6831 6830 0 0 0 1 0

🟢 linux-x86_64-relwithdebinfo target: cloud/filestore/ (test time: 5143s): all tests PASSED for commit fcc1885.

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
4351 4351 0 0 0 0 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants