So I’m having problem importing a mysqldump of an innodb database that’s rather large. The error I get from the client is “Got error 5 during commit”
Some google-fu says this nondescript error is usually from an insert going over the wsrep_max_ws_size.
I’ve tried adjusting this value higher, but the limit seems to be at 4GB (4294901759 bytes). My insert for one table is quite a bit larger than this. Is this limit my actual problem, and if so… why can’t I increase beyond this 4GB limit?
This is an old thread, but just wanted to note I ran into a similar problem. In my case I identified that it was caused by the --no-autocommit flag which was used when the mysqldump was created. I piped the mysqldump through sed to strip the set autocommit=0; and commit; statements and was able to import the mysqldump
zcat dump.sql.gz | sed '/set autocommit=0;/d' | sed '/commit;/d' | mysql mydb