Synchronize MySQL sysbench database population across roles - #792
Merged
Nirjan Chapagain (nchapagain001) merged 3 commits intoAug 20, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 92224b9d-2c89-489f-aff7-a16fae94d4cf
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Wait for the server API heartbeat before a client-role population step. The API server starts after MySQL configuration and user creation, preventing the first thread-sweep scenario from racing the remote user grant. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 92224b9d-2c89-489f-aff7-a16fae94d4cf
Contributor
Author
|
Added commit 6a4ad88 to prevent MySQL error 1130 rather than only surfacing it. Client-role database population now waits for the server API heartbeat, which is started after MySQL configuration and remote-user creation complete. |
Upgrade SSH.NET to the secure release and adapt SCP path handling to the new API. Refresh GitHub Actions versions so the PR workflows run on supported action releases. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: f93cb371-279e-4917-ab3b-beed90f7f78d
Contributor
Author
|
/azp run |
|
Azure Pipelines: No pipelines were found matching this branch/path. |
AlexWFMS
approved these changes
Aug 20, 2026
Nirjan Chapagain (nchapagain001)
approved these changes
Aug 20, 2026
Nirjan Chapagain (nchapagain001)
deleted the
users/evellanoweth/mysql-8.0.46-sysbench-fix
branch
August 20, 2026 18:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FATALoutput during database population even when sysbench returns exit code 0.mysql-server-8.0.46-v1.zip.virtualclientinternal/packages.Root cause
The thread-sweep profile performs database population as a client-role action, while MySQL user creation is a server-role dependency. The first 8-thread population could reach MySQL after it started listening but before
setup-database.pycreatedsbtest@10.0.1.0, producing MySQL error 1130. Later thread counts succeeded because server configuration had completed.The observed
FATAL: error 1130lines were from the pre-fix reproduction. They are not expected after synchronization. The explicitFATALdetection remains as a safety net because sysbench returned exit code 0 for that failure; without it, VirtualClient could falsely mark database population successful.Validation
SysbenchConfigurationTestspass, including regressions that verify the server heartbeat is confirmed before remote population starts and that fatal sysbench output fails the action.SshClientProxyTestspass with SSH.NET 2026.0.0.FATALconnection errors withSYSBENCH_EXIT_CODE=0.85c95316-8775-46ea-9895-2bc3e6a229dcpassed targetedoltp_read_writewith exit code 0 and no fatal connection error.27093927-fa27-421f-b3ad-10a30eefc94apassed with MySQL8.0.46-0ubuntu0.24.04.3: 8,303.22 transactions/sec, 166,064.44 queries/sec, 0 ignored errors, and 0 reconnects.