Skip to content
Snippets Groups Projects
Commit 7225084f authored by Kirill Yukhin's avatar Kirill Yukhin Committed by Vladimir Davydov
Browse files

Set is_temporary flag for formats of ephemeral spaces

Before the patch, when ephemeral space was created flag
is_temporary was set after space was actually created.
Which in turn lead to corresponding flag of tuple_format
being set to `false`.
So, having heavy load using ephemeral spaces (almost any
SQL query) and snapshotting at the same time might lead
to OOM, since tuples of ephemeral spaces were not marked
as temporary and were not gc-ed.
Patch sets the flag in space definition.
parent 3a18f81d
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