arnoldasgudas / Hangfire.MySqlStorage

MySql storage for Hangfire - fire-and-forget, delayed and recurring tasks runner
GNU Lesser General Public License v3.0
175 stars 114 forks source link

MySqlException: This version of MySQL doesn't yet support 'XA with wsrep replication plugin' #83

Open sufyannisar opened 3 years ago

sufyannisar commented 3 years ago

While connecting to MySQL server hosted with replication enabled, I get this error.

MySqlConnector.MySqlException (0x80004005): This version of MySQL doesn't yet support 'XA with wsrep replication plugin' ---> MySqlConnector.MySqlException (0x80004005): This version of MySQL doesn't yet support 'XA with wsrep replication plugin' at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in //src/MySqlConnector/Core/ResultSet.cs:line 49 at MySqlConnector.MySqlDataReader.ActivateResultSet() in //src/MySqlConnector/MySqlDataReader.cs:line 115 at MySqlConnector.MySqlDataReader.CreateAsync(CommandListPosition commandListPosition, ICommandPayloadCreator payloadCreator, IDictionary2 cachedProcedures, IMySqlCommand command, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/MySqlDataReader.cs:line 421 at MySqlConnector.Core.CommandExecutor.ExecuteReaderAsync(IReadOnlyList1 commands, ICommandPayloadCreator payloadCreator, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in //src/MySqlConnector/Core/CommandExecutor.cs:line 61 at MySqlConnector.MySqlCommand.ExecuteNonQueryAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in //src/MySqlConnector/MySqlCommand.cs:line 263 at MySqlConnector.MySqlCommand.ExecuteNonQuery() in //src/MySqlConnector/MySqlCommand.cs:line 100 at MySqlConnector.Core.XaEnlistedTransaction.ExecuteXaCommand(String statement) in //src/MySqlConnector/Core/XaEnlistedTransaction.cs:line 48 at MySqlConnector.Core.XaEnlistedTransaction.OnStart() in //src/MySqlConnector/Core/XaEnlistedTransaction.cs:line 22 at MySqlConnector.Core.EnlistedTransactionBase.Start() in //src/MySqlConnector/Core/EnlistedTransactionBase.cs:line 19 at MySqlConnector.MySqlConnection.EnlistTransaction(Transaction transaction) in //src/MySqlConnector/MySqlConnection.cs:line 198 at MySqlConnector.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in //src/MySqlConnector/MySqlConnection.cs:line 419 at MySqlConnector.MySqlConnection.Open() in /_/src/MySqlConnector/MySqlConnection.cs:line 365 at Hangfire.MySql.MySqlStorage.CreateAndOpenConnection() at Hangfire.MySql.MySqlStorage.UseTransaction[T](Func2 func, Nullable1 isolationLevel) at Hangfire.MySql.Monitoring.MySqlMonitoringApi.UseConnection[T](Func`2 action) at Hangfire.MySql.Monitoring.MySqlMonitoringApi.HourlySucceededJobs() at Hangfire.Dashboard.Pages.HomePage.Execute() at Hangfire.Dashboard.RazorPage.TransformText(String body) at Hangfire.Dashboard.RazorPage.ToString() at Hangfire.Dashboard.RazorPageDispatcher.Dispatch(DashboardContext context) at Hangfire.Dashboard.AspNetCoreDashboardMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)