- Mar 21, 2011
-
-
Damien Lefortier authored
-
Konstantin Osipov authored
Make remote_row_reader_v11 declaration match the definition.
-
Roman Tokarev authored
Zero index structure before use.
-
Roman Tokarev authored
-
- Mar 18, 2011
-
-
Roman Tokarev authored
Conflicts: test/lib/tarantool_connection.py test/lib/tarantool_silverbox_server.py test/lib/test_suite.py
-
Roman Tokarev authored
generalize Server class implement TarantoolServer class implement TarantoolSilverboxServer class implement TarantoolFeederServer class a lot changes in interfaces and bugfixes
-
- Mar 16, 2011
-
-
Konstantin Osipov authored
Revert the yesterday's patch that installs SIGCHLD handler to early collect <defunct> server processes that received SIGSEGV/otherwise somehow terminated abnormally. The invinite loop in Tarantool_connection::recvall() was caused by misuse of the Python socket API, not by the fact that the sending side was still "alive". The correct fix simply checks for EOF received from the other end and raises an exception if we expected some data and got a EOF.
-
- Mar 15, 2011
-
-
Konstantin Osipov authored
Iron out thet sigchld handler.
-
Konstantin Osipov authored
If Tarantool server segfaults when a test is running, it used to hand in <defunct> state, since there was no wait() call in the parent to collect child process state. All file descriptors, as well as open sockets, of a <defunct> process were left open. This lead to the test runner cycling in an infinite loop in recv() from the server, and the whole test suite to, ultimately, hanging in a busy wait. This looks more like a bug in python pexpect, but install a SIGCHLD handler to work it around, and collect child data immediately as soon as child terminates.
-
- Mar 14, 2011
-
-
Konstantin Osipov authored
A fix and a test case for https://bugs.launchpad.net/tarantool/+bug/730593 "Bad data if incomplete tuple" A partial tuple could get accepted by INSERT command, and later on show up in all search results on the index for which this partial tuple was missing keys. When inserting into a TREE index Tarantool/Box did not validate that the tuple which is being inserted actually has fields used in the index, and would insert instead an "ASTERISK" (wildcard) value into the index. Additionally, when such validation was added, it turned out that box_raise leaves a corrupt tuple in place since txn_abort() doesn't remove the unless it's marked as "GHOST", and tuples were marked as "GHOST" after index insert, not before.
-
Konstantin Osipov authored
-
Konstantin Osipov authored
A fix and a test case for https://bugs.launchpad.net/tarantool/+bug/729758 "SELECT fails with a disjunct and small LIMIT" and https://bugs.launchpad.net/tarantool/+bug/729879 "Zero limit is treated the same as no limit" These were simple coding bugs in SELECT main loop.
-
- Mar 09, 2011
-
-
Roman Tokarev authored
-
- Mar 07, 2011
-
-
Konstantin Osipov authored
Allow disjunctions in SELECT WHERE clause and LIMIT clause in SELECT, to be able to cover the problem reported in Bug#729758. Fix a bug with prepare_gdb arguments (remove an extra space in -e option). Add a simple test for Bug#729758. The following bugs were reported in the process: Bug#729789 "Zero limit is treated the same as no limit" Bug#730593 "Bad data if incomplete tuple" Bug#730613 "SELECT with a disjunction on multiple keys returns matching tuples twice"
-
- Mar 04, 2011
-
-
Konstantin Osipov authored
A fix and a test casee for http://bugs.launchpad.net/bugs/727174 "tarantool_silverbox crashes when saving snapshot on SIGUSR1" Initialize the event loop before registering a child wait callback. Make we don't use fiber infrastructure in the signal handler, which has its own stack.
-
- Mar 01, 2011
-
-
Konstantin Osipov authored
"entering event loop" is printed into tarantool log before we have successfully bound the TCP ports. Expect for a correct message when trying to find out whether or not the server has successfully started.
-
Konstantin Osipov authored
-
Roman Tokarev authored
- Replace strndrupa with alloca + memcpy. - In create_pid function do rewind before read from pid file.
-
- Feb 28, 2011
-
-
Konstantin Osipov authored
A fix and a test case for Bug#726778 "Gopt broke wal_dir and snap_dir: they are no longer relative to work_dir". Ensure that snap_dir and xlog_dir can be relative to work_dir. Ensure that chdir happens before we handle --init-storage. Do not mix declarations and definitions for recovery_state. Add a test case to args.test.
-
Konstantin Osipov authored
Implement a number of simple fixes to compile on FreeBSD: - work correctly with a GCC version that doesn't have -Wno-unused-result - compile even if not GNU libc - tee doesn't have '--append' option on FreeBSD, use the short version ('-a'). - fix a typo in log_io.c, ENOENT, not ENONET.
-
- Feb 25, 2011
-
-
Konstantin Osipov authored
Return a non-zero exit status if there are test failures, even if run with --force. This necessary to correctly identify a test failure in buildbot run.
-
Konstantin Osipov authored
-
- Feb 24, 2011
-
-
Konstantin Osipov authored
Make 'make test' goal operational on hosts with old python or python somewhere else than /usr/bin.
-
Konstantin Osipov authored
Correct a regexp pattern in test suppression filter to work in a more modern version of python. In the new python \S matches '"', and the test output is different compared to the recorded one.
-
Konstantin Osipov authored
Adjust regexp pattern in one of the tests that started to fail after an increment in version number.
-
Konstantin Osipov authored
Start the next development milestone.
-
- Feb 22, 2011
-
-
Konstantin Osipov authored
Add the simplest CPack configuration for 'make package' and 'make package_source' targets. Add an empty snapshot to revision control to use in 'make package' and thus spare the user from the need to do --init-storage. Modify args.test to accept a bare (no git version) version number, and thus ensure the user from a yet another call before he/she can start work/play around.
-
- Feb 21, 2011
-
-
https://bugs.launchpad.net/bugs/722647Yuriy Vostrikov authored
"qsort implementation fails to sort arrays greater 4GB"
-
Konstantin Osipov authored
Bug#712447 "Valgrind reports use of not initialized memory after 'reload configuration' Bug#695689 "'save snapshot' does not report error when it occurs" Bug#686411 "Possible data loss when renaming a snapshot"
-
Konstantin Osipov authored
Document the coding style in use. Quote Linux Kernel coding style as the basis. Add Tarantool-specific extensions.
-
- Feb 17, 2011
-
-
Konstantin Osipov authored
-
Konstantin Osipov authored
Add a pre-recorded snapshot to the test coverage, one that contains 500 records. Verify that we can start from it.
-
Konstantin Osipov authored
Rename a test file to avoid shell escapes, align a comment, modify ./test-run defaults to follow the new build layout.
-
Konstantin Osipov authored
Generalize CMake build scripts to be able to easily add new modules (such as box or feeder). Move prscfg.{h,c} (confetti general library and header) from third_party/confetti/ to cfg/ to simplify the build. Update configuration file templates and parsing code to use the new confetti. Rename cfg/tarantool_cfg.h to cfg/warning.h, to be able to reuse it in warning.c. Update tests. Note: tarantool_feeder is now built in mod/feeder; tarantool_silverbox is built in mod/silverbox. Modify .gitignore accordingly.
-
Roman Tokarev authored
-
Roman Tokarev authored
-
Roman Tokarev authored
-
- Feb 16, 2011
-
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-
Yuriy Vostrikov authored
-