- Jun 16, 2015
-
-
Konstantin Osipov authored
Introduce mpstream API to lua-msgpack encoder, which allows it to encode msgpack into any memory source. The streaming API should make it possible to encode even directly to network. Patch region allocator to support the new API. Patch iobuf/obuf output buffer of iproto to support the new API.
-
- Jun 02, 2015
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Implement box.once(). Right now there is a race in box.once(), this is somethign we'll need to fix when we have master election on simultaneous bootstrap. The patch merely "establishes" the syntax which is going to work most of the time.
-
Konstantin Osipov authored
Don't log exceptions of dead joinable fibers - it will be logged by the caller, so avoid double logging. recover_remaining_wals() is now more like an iterator, vclockset_match() is only called when there is no current WAL. Add a test case for gaps in LSNs.
-
- Jun 01, 2015
-
-
Konstantin Osipov authored
- add forgotten latch.h, fix latch.h header guards - make sure the stuff in thread is thread-safe and exception-safe - remove snapshot_pid and update the docs. - remove empty lines/trailing spaces - move xlog_open()/xlog_close() to the snapshot thread - use cord_costart() to have fiber infrastructure in the checkpoint thread, rather than run checkpoint in sched fiber - remove #include <fiber.h> from memtx_engine.h, it's not needed there - remove errNo() method from base class Exception, anything with an error no inherits from SystemError. Moreover, now that we have a rich exception infrastructure at our disposal, we should switch to using it in engine API, so in future returning error no will be replaced with exceptions.
-
- May 29, 2015
-
-
Konstantin Osipov authored
-
Roman Tsisyk authored
-
Sulverus authored
-
- May 28, 2015
-
-
Konstantin Osipov authored
Add a directory watcher, in addition to the file watcher. Chagne wal_dir_rescan_delay default value to 2, since now it's merely a backup.
-
Sulverus authored
-
Konstantin Osipov authored
Fix a crash in rollbackStatement() when rolling back a statement trying to access a non-exissting space. space_cache_find() is called before txn_begin_stmt(), thus there is no statement object, nothing to roll back.
-
- May 27, 2015
-
-
Sulverus authored
-
Roman Tsisyk authored
-
Roman Tsisyk authored
Remove iditioc tests from the suite.
-
- May 26, 2015
-
-
Konstantin Osipov authored
Change the logic of recovery_finalize() to open the next xlog if the last xlog had zero rows. Add a test case. Remove recovery->finalize, use recovery->writer instead.
-
Roman Tsisyk authored
-
Sulverus authored
-
- May 25, 2015
-
-
Sulverus authored
-
Sulverus authored
-
Roman Tsisyk authored
-
- May 22, 2015
-
-
Konstantin Osipov authored
Hard-code 1-based error message for now, we'll use field names in the future anyway.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Remove trailing spaces, fix typos.
-
Sulverus authored
Old sql code completly reomoved from tests box/sql.test, big.sql.test refactoring sql.tests enabled in big and box suites Replication tests sql refactoring parallel call.test sql refactoring box.error test fixed in call.test After review fixes: 1. rename remote to iproto 2. remove old sql tests 3. update test-run
-
Sulverus authored
-
Alexandr Lyapunov authored
*) Splitted rlist initializer to RLIST_HEAD_INITIALIZER(..) and RTREE_LINK_INITIALIZER
-
Konstantin Osipov authored
-
Alexandr Lyapunov authored
-
Konstantin Osipov authored
-
Konstantin Osipov authored
-
Sulverus authored
-
- May 21, 2015
-
-
Alexandr Lyapunov authored
*) Additionally added GT iterator *) Added test for that
-
Alexandr Lyapunov authored
* Added a test that acts as expirationd
-
- May 20, 2015
-
-
Konstantin Osipov authored
This patch doesn't fix the bug itself, but simplifies matters so that there is no more .inprogress xlog files. .inprogress xlog files were created to start automatically from a state when the server crashed with an empty xlog, and couldn't create a new xlog since a file with the same LSN in the name already existed. To solve this problem, simply bump LSN at start if the last file in the recovery list had zero records in it. Emtpy xlog files still lead to panic if panic_on_wal_error=true during recovery.
-
- May 19, 2015
-
-
Konstantin Osipov authored
-
- May 18, 2015
-
-
Konstantin Osipov authored
Add a fix and a test case. Propagate master error to the replica. The replica no longer enters into an infinite loop, but stops with a correct status in this case.
-
Alexandr Lyapunov authored
*) corrected light and bps_tree corresponingly
-
- May 15, 2015
-
-
Roman Tsisyk authored
-
- May 14, 2015
-
-
Sulverus authored
-
Konstantin Osipov authored
Use a bitmap to represent existing servers.
-