Skip to content
Snippets Groups Projects
Commit 3a1405bb authored by Nikita Pettik's avatar Nikita Pettik Committed by Nikita Pettik
Browse files

txm: skip ephemeral spaces while positioning iterator

In tree_iterator_start() it was assumed that iterator always contains
valid space id. However, ephemeral spaces are known to have zero space
id. So in case we are starting iterator which belongs to ephemeral
space, we can't simply find that space in space cache. Moreover, we
don't need to track ephemeral spaces in MVCC at all since they can be
accessed only pointers and their lifespan is restricted by SQL query
execution. So let's skip any MVCC-related routine while starting an
iterator.

Closes #6095
parent 8a645be5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment