Thanks for looking into this! I would appreciate is some risc expert tested the solution on a risc builder and eventually filed a MR at https://salsa.debian.org/mariadb-team/mariadb-10.3 or directly upstream at github.com/mariadb/server. Filing a PR upstream would be the guaranteed way to get a RocksDB/atomic expert to review/comment the issue.
- Otto