Comments - CREATE SEQUENCE
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
If there was a server restart or a `flush tables {sequencename}` is performed on the sequence then the range of values (the CACHE) is lost.
Also implicit closing by running out of table cache will result in the cached values being lost and the sequence restarting at the next non-cached value:
e.g:
If you'd like a different functionality please request it on JIRA (same as bug reporting link above).
I may be related to https://jira.mariadb.org/browse/MDEV-23831