Skip to content
Snippets Groups Projects
Commit 857e6429 authored by Vladislav Shpilevoy's avatar Vladislav Shpilevoy Committed by Konstantin Osipov
Browse files

schema: forbid creating a space with id = 0

We do not store id = 0 in xlog, yet when parsing the log
file expect space id to be present in a request (a mandatory key).

So a space with id 0 is not possible to recovery from a
snapshot.

Simply reserve id 0 to avoid the problem.
parent 14967bd8
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