[Tarantool-patches] [PATCH 1/1] box: introduce space:alter()

Cyrill Gorcunov gorcunov at gmail.com
Mon Aug 24 10:15:57 MSK 2020


On Sat, Aug 22, 2020 at 12:46:02AM +0200, Vladislav Shpilevoy wrote:
> There was no way to change certain space parameters without its
> recreation or manual update of internal system space _space. Even
> if some of them were legal to update: field_count, owner, flag of
> being temporary, is_sync flag.
> 
> The patch introduces function space:alter(), which accepts a
> subset of parameters from box.schema.space.create which are
> mutable, and 'name' parameter. There is a method space:rename(),
> but still the parameter is added to space:alter() too, to be
> consistent with index:alter(), which also accepts a new name.
> 
> Closes #5155

Ack


More information about the Tarantool-patches mailing list