Bug #96891 | Validate clone_buffer_size vs max_allowed_packet | ||
---|---|---|---|
Submitted: | 16 Sep 2019 23:34 | Modified: | 21 Nov 2019 17:54 |
Reporter: | Simon Mudd (OCA) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Clone Plugin | Severity: | S3 (Non-critical) |
Version: | 8.0.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | cloning |
[16 Sep 2019 23:34]
Simon Mudd
[16 Sep 2019 23:35]
Simon Mudd
Ad hoc script which can trigger the issue.
Attachment: clone_script2 (application/octet-stream, text), 3.94 KiB.
[17 Sep 2019 9:51]
MySQL Verification Team
Hello Simon, Thank you for the report and feedback. regards, Umesh
[17 Sep 2019 9:52]
MySQL Verification Team
Test results - 8.0.17
Attachment: 96891_8.0.17.results (application/octet-stream, text), 6.58 KiB.
[18 Sep 2019 14:36]
Simon Mudd
Umesh, Unless I'm mistaken creating the clone user on the recipient is not needed. (referencing your results). Documentation here is confusing and not clear and probably needs updating to be more precise. If I'm correct it allows you to slightly simplify your test case.
[18 Nov 2019 20:14]
Daniel Price
Posted by developer: Fixed as of the upcoming 8.0.19 release, and here's the changelog entry: A clone_buffer_size value greater than the max_allowed_packet value caused the following error: ERROR 1153 (08S01) at line 1: Got a packet bigger than 'max_allowed_packet' bytes. The error message was revised to indicate the minimum required clone_buffer_size value.
[18 Nov 2019 20:24]
Daniel Price
Posted by developer: Revised entry as follows: Fixed as of the upcoming 8.0.19 release, and here's the changelog entry: A low max_allowed_packet value caused the following error: ERROR 1153 (08S01) at line 1: Got a packet bigger than 'max_allowed_packet' bytes. The error message was revised to indicate the minimum required max_allowed_packet value for cloning operations.
[21 Nov 2019 17:54]
Simon Mudd
This does of course lead to the question why this can't be auto-configured so the user doesn't have to worry about it. An extra couple of statements when initiating cloning would avoid the need for this to be ever touched and might remove the need for a special clone_buffer_size setting. Maybe.
[21 Nov 2019 17:54]
Simon Mudd
Either way thanks for addressing the problem.