chore: order system clusterwide spaces by their id
Summary
- chore: order system clusterwide spaces by their id
This is useful to avoid sorting during snapshot preparation and in upcoming access control patch it simplifies the check whether a particular space id belongs to system space id range.
See also #394, but it's mentioned after merging
Ensure that
-
New code is covered by tests -
API is documented -
Changelog is up to date -
(if Lua API changed) Lua API version is bumped inluamod.rs
-
(if necessary) A follow-up doc issue is created in picodata/docs and linked here
Edited by Yaroslav Dynnikov