- Sep 12, 2016
-
-
Konstantin Osipov authored
* add a test case based on error injection * fix a few release mode warnings * the test case is still failing, depends on introduction of shadow memory indexes.
-
Roman Tsisyk authored
Use global queues for scheduling instead of per-index. Fixes #1708
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Update test run (fixes the sporadic console handshake bug when running tests). Fixes gh-1163.
-
Vladislav Shpilevoy authored
-
Nick Zavaritsky authored
-
Svyatoslav Feldsherov authored
Closes #1599
-
Nick Zavaritsky authored
-
bigbes authored
-
- Sep 09, 2016
-
-
Konstantin Osipov authored
Don't access uninitialized memory in ev_io_closing(). anfds array is initialized with zeroes, when it's reallocated, but anfdmax is array size, not array last element, so anfds[anfdmax] is garbage. When we're "closing" an fd which has never been added to anfds (ev_io_start()) wasn't called for it), we must check that it's within array size boundaries first.
-
Konstantin Osipov authored
-
Vladimir Davydov authored
Since range_id_max is not updated, indexes created after recovery might get the same ids as recovered ones. If this happens, the next recovery will crash, because there will be two or more identical ids in the range index file.
-
Roman Tsisyk authored
Prepare for #1599
-
Alexandr Lyapunov authored
-
Vladimir Davydov authored
vy_range_redistribute() doesn't work correctly if ranges are not sorted in ascending order.
-
Vladislav Shpilevoy authored
-
Vladimir Davydov authored
vy_task_{dump,compact}_{execute,complete} serve as trivial wrappers for the functions doing real work. Let's fold them to make the code more straightforward. No functional changes intended. While we touch this code, let's also get rid of all the pointless unlikely's - after all the functions are not called from hot paths so there's no point in cluttering the code.
-
Vladimir Davydov authored
This is pure refactoring, isn't supposed to introduce any functional changes.
-
Vladimir Davydov authored
It is only set and never checked.
-
Vladimir Davydov authored
vy_range_lock() is used in order to forbid scheduling two dump or compact operation on the same range, so there's no point in locking and then unlocking new ranges on compact completion, because it is run from the same thread as the scheduler. This is a legacy of the past, when vy_range_compact_commit() was called from a worker thread. Zap it.
-
Vladimir Davydov authored
It's not good to mess them all together in one struct. Let's use a union.
-
Roman Tsisyk authored
Take into account all runs and in-memory index. Follow up bfe23238
-
Nick Zavaritsky authored
-
- Sep 08, 2016
-
-
Konstantin Osipov authored
Add a test case for automatic cursor close on transaction commit/rollback. Fix a coding bug this test exposed. Update comments.
-
Konstantin Osipov authored
Add a test case for gh-1606 "visibility of changes made by a transaction in range queries". These ara basic tests for transaction write set iterators implemented by @a_lyapunov
-
Vladimir Davydov authored
-
Vladimir Davydov authored
As there is ->complete available now, we can release quota from there.
-
Vladimir Davydov authored
We always do after successful vy_run_write(), so let's move the code there.
-
Vladimir Davydov authored
vy_dump_commit() can only be called after successful vy_dump_begin(), which always creates a new run, so the check if (run == NULL) is useless.
-
Vladimir Davydov authored
It doesn't work.
-
Roman Tsisyk authored
This reverts commit 7bc88b06.
-
Konstantin Osipov authored
In case of WAL write error, the transaction was rolled back after successful vy_prepare(). In this case, rollback still tried to remove the tx from the conflict manager. Double deletion lead to crash. Add a test case and do not remove tx twice. Fixes gh-1681 "vinyl: crash in vy_rollback on ER_WAL_IO"
-
Roman Tsisyk authored
Use lsn instead of vlsn in scheduler.
-
Roman Tsisyk authored
Fix regression introduced by f991838a
-
Roman Tsisyk authored
Split pages properly.
-
Roman Tsisyk authored
Store offset of the end of msgpack data in the last offset table entry.
-
- Sep 07, 2016
-
-
Roman Tsisyk authored
* Remove useless ./vinyl/lock and test/vinyl/suite.lua * Fix vinyl/info.test.lua Follow up ca00c503 and 24a5e45b
-
Roman Tsisyk authored
Fixes #1743 Fixes #1749
-
Roman Tsisyk authored
-
Vladimir Davydov authored
All manipulations on range tree are now done from the tx thread, while worker threads only write runs to disk, so the lock is not needed any longer.
-