pub enum SpaceType {
Normal,
DataTemporary,
Temporary,
DataLocal,
Synchronous,
}
Expand description
Possible values for the SpaceCreateOptions::space_type
field.
Variants§
Normal
Default space type. Data and meta-data is persisted and replicated.
DataTemporary
Space is created on all replicas and exists after restart, but the data is neither persisted nor replicated.
Same as { type = 'data-temporary' }
in lua.
Temporary
Space is only created on current instance and doesn’t exist after restart, and the data is also neither persisted nor replicated.
Such space can be created in readonly mode.
Same as { type = 'temporary' }
in lua.
DataLocal
Space is created on all replicas and exists after restart, data is persisted but not replicated.
Same as { is_local = true }
in lua.
Synchronous
Space is created on all replicas and exists after restart, data is persisted and replicated synchronously, see https://www.tarantool.io/en/doc/latest/concepts/replication/repl_sync/ for more info.
Same as { is_sync = true }
in lua.