Skip to content

added --bs-file option to filestore-server and vhost#6575

Open
tdiff wants to merge 2 commits into
mainfrom
feature/nfs-bs-config
Open

added --bs-file option to filestore-server and vhost#6575
tdiff wants to merge 2 commits into
mainfrom
feature/nfs-bs-config

Conversation

@tdiff

@tdiff tdiff commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Notes

This PR allows to specify blob storage configuration on command line, alike to other parameters.

It was required in context of BSProxy failure injection, which is enabled in blob_storage_config.

Issue

#6467

@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.

@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: 736f1e97de

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +103 to +105
Opts.AddLongOption("bs-file")
.OptionalArgument("FILE")
.StoreResult(&BlobStorageConfig);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep bs-file scoped to consumers that apply it

This registers --bs-file on every TOptionsYdbBase consumer, not just filestore: cloud/blockstore/libs/disk_agent/options.h also inherits TOptionsYdbBase, but its InitKikimrConfig still ignores Options->BlobStorageConfig and always initializes blob storage with only AddAvailabilityDomains(1). In disk-agent deployments, passing the newly accepted --bs-file will therefore be silently ignored instead of loading the requested blob storage service set; either apply it in the disk-agent initializer too or keep the option scoped to the binaries that actually consume it.

Useful? React with 👍 / 👎.

@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: 255s): all tests PASSED for commit 27214ae.

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: 279s): all tests PASSED for commit 27214ae.

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

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

TESTS PASSED ERRORS FAILED FAILED BUILD SKIPPED MUTED?
6850 6849 0 0 0 1 0

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

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

@tdiff
tdiff requested a review from SvartMetal July 22, 2026 08:12
bsConfig);
} else {
bsConfig.MutableServiceSet()->AddAvailabilityDomains(1);
}

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.

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.

We decided to skip it because we don't need to set bs.txt for any cluster, and the TBlobStorageConfig protobuf is not as small as we initially thought

@SvartMetal
SvartMetal self-requested a review July 22, 2026 22:28
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.

2 participants