pub const UNTRACKED_STACK_ID: u64 = u64::MAX; // 18_446_744_073_709_551_615u64Expand description
The stack id that means do not record this.
Some writes must happen and must not appear in the user’s history: a buffer
mirrored to the store on a timer, a cache line, an index rebuilt on open.
The generated commands always push — stack_id: None resolves to the global
stack 0 rather than opting out — so before this const the only way to keep
such a write out of the history was to push it somewhere and clear that
somewhere afterwards, which nobody remembers to do. Passing this id instead
drops the command at the door: nothing is stored, so there is nothing to
clear, and stack 0 stays empty.
create_new_stack counts up from 1, so this value can never collide with a
real stack.