codership / documentation

Galera Cluster Library
http://galeracluster.com/library/
24 stars 64 forks source link

wsrep-debug documentation missing or unclear #463

Closed janlindstrom closed 2 weeks ago

janlindstrom commented 2 months ago

We got a report about the lack of documentation on wsrep_debug, on both MariaDB knowledge base, and the Codership documentation.There is no information on:

2024-09-06 14:37:57 13 [Note] WSREP: TOI Begin: CREATE SEQUENCE seq start with 1 minvalue 1 maxvalue 1000000 increment by 0 cache 1000 nocycle EN GINE=InnoDB 2024-09-06 14:37:57 13 [Note] WSREP: enter_toi_local: enter(13,exec,local,success,0,toi: -1,nbo: -1) 2024-09-06 14:37:57 13 [Note] WSREP: poll_enter_toi: 3,0 2024-09-06 14:37:57 13 [Note] WSREP: enter_toi_local: leave(13,exec,toi,success,0,toi: 3,nbo: -1) 2024-09-06 14:37:57 13 [Note] WSREP: avoiding binlog rotate due to TO isolation: 1 2024-09-06 14:37:57 13 [Note] WSREP: TO END: 3: CREATE SEQUENCE seq start with 1 minvalue 1 maxvalue 1000000 increment by 0 cache 1000 nocycle EN GINE=InnoDB

janlindstrom commented 2 months ago

[1] https://mariadb.com/docs/server/ref/mdb/cli/mariadbd/wsrep-debug/ [2] https://mariadb.com/docs/server/ref/mdb/system-variables/wsrep_debug/ [3] https://mariadb.com/kb/en/galera-cluster-system-variables/#wsrep_debug [4] https://mariadb.com/docs/server/ref/mdb/wsrep_provider_options/evs.debug_log_mask/ [5] https://mariadb.com/kb/en/wsrep_provider_options/#evsdebug_log_mask [6] https://galeracluster.com/library/documentation/mysql-wsrep-options.html#wsrep-debug

byte commented 2 months ago

thank you for the comprehensive report @janlindstrom - @kirjaamo you can take the first stab at writing this, i will review when ready

janlindstrom commented 2 months ago

Here we need to remember there is differences between MariaDB wsrep patch and MySQL wsrep patch on what is in this wsrep-debug error logging.

kirjaamo commented 1 month ago

@byte My initial part is done. You can review.