Error
Error Code:
3921
MySQL Error 3921: Invalid ZSTD Compression Level
Description
This error occurs in MySQL replication when an invalid `MASTER_ZSTD_COMPRESSION_LEVEL` is specified for a replication channel. It indicates that the configured compression level for replicating events using ZSTD is outside the permissible range or is otherwise not supported by the MySQL server version. This typically prevents replication from starting or continuing.
Error Message
Invalid MASTER_ZSTD_COMPRESSION_LEVEL %u for channel '%s'.
Known Causes
4 known causesCompression Level Out of Range
The specified `MASTER_ZSTD_COMPRESSION_LEVEL` value is not within the valid range, which is typically 0 to 19.
Incorrect Data Type
The value provided for `MASTER_ZSTD_COMPRESSION_LEVEL` is not a valid integer, or includes non-numeric characters.
Server Version Incompatibility
The MySQL server version in use does not support `MASTER_ZSTD_COMPRESSION_LEVEL`, or its valid range differs from what was configured.
Typo or Misconfiguration
A simple typo in the `MASTER_ZSTD_COMPRESSION_LEVEL` parameter name or a misunderstanding of its required format has occurred.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service