- Feb 02, 2017
-
-
Vladimir Davydov authored
So that we can access next_run_id and next_range_id directly. In order not to introduce dependency on latch.h, allocate a latch from heap and use forward declaration.
-
Vladimir Davydov authored
Currently, vy_recovery_load_index() only calls the callback for VY_LOG_INSERT_RANGE and VY_LOG_INSERT_RUN types of records, but not for VY_LOG_NEW_INDEX, because the latter is not needed during index recovery. However, we will need this event for vinyl metadata log rotation, so let's make vy_recovery_load_index() call the callback for this type of record too.
-
Konstantin Osipov authored
-
Vladimir Davydov authored
Not necessary as log records are checksummed.
-
- Feb 01, 2017
-
-
bigbes authored
net.box: set default timeout to 10s tarantoolctl: set console connection timeout to inifinity Closes #2054
-
bigbes authored
closes gh-1925
-
Roman Tsisyk authored
-
Roman Tsisyk authored
* Don't start tarantool on install * Don't restart tarantool on upgrade Fix #2053
-
Konstantin Osipov authored
We don't pass the WAL error to the caller, so at least log it in the error log. Do not try to sync data range in case of write error in xlog_write_row().
-
Georgy Kirichenko authored
Move fiber_pool struct to separate file. Prepare for detach fiber_pool from cbus.
-
Georgy Kirichenko authored
-
Georgy Kirichenko authored
-
Roman Tsisyk authored
-
- Jan 31, 2017
-
-
Vladimir Davydov authored
In order to rotate vinyl metadata log, we need to destroy the old xlog and create a new one instead, so we can't embed the xlog structure in vy_log. Let's store a pointer to xlog in vy_log instead.
-
Georgy Kirichenko authored
-
Roman Tsisyk authored
* Remove "raw" comparators and dead code * Fix inlining of comparison function * Switch vinyl to specialized code from tuple_compare.cc * Improve comments and minor renames Prepare for #2046 and #2048
-
Roman Tsisyk authored
Remove struct vy_stmt * -> char * -> struct vy_stmt * conversion from vy_task_compact_new().
-
Vladimir Davydov authored
We use ev_time() everywhere except xlog_init(), the latter uses ev_now() for some reason. This prevents xlog from being created/opened from a coeio task. Fix this.
-
Konstantin Osipov authored
* move cbus declaration to cbus.c, since going forward it's a private singleton * rename cbus_item to cbus_endpoint. It represents the state of a single cord in the cbus (but in the future, a single cord may have more than one endpoint. * move declaration of cbus_endpoint to cbus.c * factor out cbus_find_endpoint() * add/update comments * move cbus_init()/cbus_free() to main.cc * replace pthread_cond_signal() with pthread_cond_broadcast(), since in theory there can be many waiters on an endpoint to join.
-
Georgy Kirichenko authored
Now we can create one-direction cbus connections and each cbus consumer can have more than one producers. cbus_join will connect cord to cbus with given name and cpipe_create will create a route to corresponding destination
-
Roman Tsisyk authored
Fixes #2036
-
bigbes authored
-
Roman Tsisyk authored
-
Vladimir Davydov authored
This is pure refactoring. No functional changes intended.
-
Vladimir Davydov authored
Closes #1811
-
Konstantin Osipov authored
Convert requeset.cc to request.c (plain C) to make request_normalize_ops() callable from C. Move all prepareatory work from Vinyl_Space::executeUpsert() to vy_upsert() to make vy_upsert() callable from other contexts.
-
Konstantin Osipov authored
Encapsulate vy_insert() in vy_replace(), to make vy_replace() a single entry point to all kinds of replaces. This is necessary to make vy_replace() easily usable in other contexts. Remove VinylEngine::recovery_complete, which was fully dependent on vy_env::status. Provide public access to vy_env::status.
-
Konstantin Osipov authored
In preparation for folding of memtx_replace_build_next() in scope of recovery refactoring, mvoe all replace functions to memtx_space.cc No semantical changes.
-
- Jan 30, 2017
-
-
Konstantin Osipov authored
Don't count snapshot rows when recovering bootstrap.snap. Add a comment to memtx_add_primary_key()
-
Vladimir Davydov authored
In case of multi-level compaction, we compact and hence delete not all runs, so we must not delete the runs left on the list from the metadata log, but we do now. This breaks recovery. Fix this.
-
- Jan 29, 2017
-
-
Konstantin Osipov authored
-
Georgy Kirichenko authored
Add error injection for vinyl schedule timeout. Used for vinyl error injection tests.
-
Georgy Kirichenko authored
New test for vinyl checkpoint
-
Konstantin Osipov authored
-
Vladimir Davydov authored
Before dumping or compacting a range, consider coalescing it with its neighbors. Only coalesce two adjacent ranges if the total size of disk space and in-memory data occupied by them is <= range_size / 2, to avoid split-coalesce oscillations. Closes #1735
-
- Jan 27, 2017
-
-
Roman Tsisyk authored
Rename tuple.cc, tuple_convert.cc, tuple_format.cc No semantic changes.
-
Roman Tsisyk authored
* Re-order code in tuple.h, tuple_format.h and key_def.h * Add _xc prefixes to tuple.h functions * Fix an unchecked exception in box_tuple_iterator()
-
Roman Tsisyk authored
-
Vladimir Davydov authored
Closes #2038
-
Vladimir Davydov authored
-