Skip to content

issue-1541: drain HandleOpsQueue when AsyncDestroy is disabled#6562

Open
WilyTiger wants to merge 2 commits into
mainfrom
users/wilytiger/issue-1541-6
Open

issue-1541: drain HandleOpsQueue when AsyncDestroy is disabled#6562
WilyTiger wants to merge 2 commits into
mainfrom
users/wilytiger/issue-1541-6

Conversation

@WilyTiger

Copy link
Copy Markdown
Collaborator

Notes

HandleOpsQueue is now restored and drained when AsyncDestroy is disabled if a persistent queue from a previous session exists.

New Release requests continue to use the synchronous path while previously queued DestroyHandle requests are processed in the background.

Issue

#1541

@WilyTiger WilyTiger added large-tests Launch large tests for PR filestore Add this label to run only cloud/filestore build and tests on PR labels Jul 20, 2026
@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.

  • ✅ filestore

@WilyTiger
WilyTiger force-pushed the users/wilytiger/issue-1541-6 branch from 93c73ad to f603b15 Compare July 20, 2026 18:45

@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: 93c73adcda

ℹ️ 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 thread cloud/filestore/libs/vfs_fuse/loop.cpp 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.

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

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

Comment thread cloud/filestore/libs/vfs_fuse/loop.cpp Outdated
SvartMetal
SvartMetal previously approved these changes Jul 22, 2026
@WilyTiger
WilyTiger force-pushed the users/wilytiger/issue-1541-6 branch from f603b15 to 31fb9f9 Compare July 24, 2026 11:57
@github-actions

github-actions Bot commented Jul 24, 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/filestore/ (test time: 7152s): all tests PASSED for commit cd771fe.

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

const auto path = TFsPath(Config->GetHandleOpsQueuePath()) /
FileSystemConfig->GetFileSystemId() /
SessionId;
if (path.Exists() || asyncDestroyEnabled) {

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.

low: should we delete file after drain is finished?

Config->GetClientId().Quote().c_str()));
}
} else if (asyncDestroyEnabled) {
ReportHandleOpsQueueCreatingOrDeletingError(Sprintf(

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.

just curious, will we in that case proceed with nullptr HandleOpsQueue and decided whether we need to use HandlexOpsQueue based only on flags and therefore have a crash?

std::move(scheduler),
features);

bootstrap.Service->CreateSessionHandler =

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.

nit: do we need custom handler?

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

Labels

filestore Add this label to run only cloud/filestore build and tests on PR large-tests Launch large tests for PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants