- Aug 21, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
The new server snapshot format is identical to format of XLOG, i.e. it contains REPLACE statements with BOX_INSERT flags for every tuple in a space. This allows to streamline recovery, since rows from a snapshot can be treated the same as rows from the write ahead log (XLOG). This is an incompatible change: - tarantool 1.5 won't be able to read data of tarantool 1.6 - tarantool 1.6, without extra effort, won't be able to read data of tarantool 1.5 (a conversion procedure is needed). This change as such doesn't break replication, but further changes are in the pipeline which will inevitably finish this matter up as well. Why this patch is necessary --------------------------- To create system spaces dict-v5 branch employs on_replace triggers mechanism, fired off by txn_replace(). Thus it's vital that all changes go into spaces using txn_replace(). What else this patch does ------------------------- - since now XLOG and SNAP have the same format, log_io.cc code has become a bit simpler - struct key_def is re-factored to simplify dynamic creation/deletion of keys - reference counting for tuple formats is added - a number of error messages is improved to provide part no in a multipart key. - space cache is split away from space.cc into a separate module, schema.[h,cc]
-
- Aug 20, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Remove space.estimated_rows from Lua.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Rewrite --init-storage to dump a compiled-in blob instead of firing off the entire save snapshot machinery. This should simplify bootstrap in presence of system spaces: there's going to be no need to implement the code which creates system, they will be created simply by recovery from a snapshot.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Add unit tests.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Dmitry Simonenko authored
-
Konstantin Osipov authored
-
Dmitry Simonenko authored
-
Konstantin Osipov authored
-
Eugine Blikh authored
Little refactoring +xlog, +snap, snapshot->snap
-
- Aug 19, 2013
-
-
Roman Tsisyk authored
-
Roman Tsisyk authored
-
- Aug 16, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Eugine Blikh authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Dmitry Simonenko authored
-
Dmitry Simonenko authored
-
Dmitry E. Oboukhov authored
-
- Aug 15, 2013
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Be more verbose when exiting the spawner.
-
Konstantin Osipov authored
Implementation of TreeIndex::reserve() had a bug when tree.members weren't allocated while buildNext was already using them. Remove sptree_index_node magic and simplify sptree iterators. </kostja>
-
Konstantin Osipov authored
Conflicts: src/box/tree_index.cc
-
Konstantin Osipov authored
When tree.max_size is 0, tree.max_size * 2 is also 0.
-