8000 [BTS-899] _admin/status crash on agents by maierlars · Pull Request #17984 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

[BTS-899] _admin/status crash on agents #17984

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

Merged
merged 1 commit into from
Jan 20, 2023

Conversation

maierlars
Copy link
Contributor

Scope & Purpose

BTS

Do not expose the reboot id on agents, because there is none.

@maierlars maierlars self-assigned this Jan 20, 2023
@cla-bot cla-bot bot added the cla-signed label Jan 20, 2023
@jsteemann jsteemann added this to the devel milestone Jan 20, 2023
Comment on lines +151 to +152
if (auto rid = serverState->getRebootId(); rid.initialized()) {
result.add("rebootId", VPackValue(rid.value()));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The problem here is, that getRebootId asserts that the reboot id is initialized.

Copy link
Contributor
@jsteemann jsteemann left a comment

Choose a reason for hiding this comment

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

LGTM

@maierlars maierlars merged commit eb5ee49 into devel Jan 20, 2023
@maierlars maierlars deleted the bug-fix/bts-899-agent-get-status branch January 20, 2023 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0