Commit graph

1476 commits

Author SHA1 Message Date
Sears Russell
94b356f837 sample stasis web services for apache modperl and fastcgi. Both are multithreaded. However, the modperl one is racy. FastCGI is currently the recommended approach 2010-01-19 02:11:04 +00:00
Sears Russell
417eec45c4 harden Stasis.pm initialization against a wider range of crazy environments (ie: apache modperl and fastcgi). Add TsoftCommit and TforceCommits to the perl binding 2010-01-19 01:56:40 +00:00
Sears Russell
18508fd2f1 fix stasis_log_force and groupForce to handle INVALID_LSN properly; instead of bypassing group force in LOG_FORCE_COMMIT mode, they now unconditionally group commit. This allows TforceCommits() to take advantage of group commit 2010-01-19 01:54:53 +00:00
Sears Russell
19061227b3 fix recovery corner case; it is possible that Tdealloc() is called before the regions are registered with the allocator 2010-01-19 01:48:17 +00:00
Sears Russell
c8cc188b71 unsigned int -> uint32_t 2010-01-19 01:47:13 +00:00
Sears Russell
560cdc2330 fix compiler warning 2010-01-11 23:13:53 +00:00
Sears Russell
46b428547d fix log entry leak in redorderingHandle 2010-01-11 23:07:08 +00:00
Sears Russell
022136d3c3 move inMemoryLog, to the new api 2010-01-11 22:55:55 +00:00
Sears Russell
fa4e4fa980 fix compile warning 2010-01-11 21:02:25 +00:00
Sears Russell
67b8808739 fix flex test 2010-01-11 21:00:46 +00:00
Sears Russell
d71e248291 removed freeLogEntry 2010-01-11 20:41:59 +00:00
Sears Russell
8999f1acd4 add -lpthread to Stasis.pm LIBS 2010-01-11 19:54:45 +00:00
Sears Russell
4e029988f3 add missing unit test 2010-01-11 19:30:20 +00:00
Sears Russell
f041f0a653 clean up perl unit tests; add support for storing tied hashes in tied hashes 2010-01-11 19:29:52 +00:00
Sears Russell
44e5e8b4fc Refactor regions to avoid hack during startup. It used to allocate a dummy log entry, then free it. This causes trouble with the upcoming log api, since the log implementation will need to manage log entry memory for performance reasons. 2010-01-07 21:57:13 +00:00
Sears Russell
0ac0a768aa run tests using nice. this allows certain linux systems to remain responsive to user input while running check_dirtyPageTable 2010-01-07 21:52:04 +00:00
Sears Russell
c30aaa3a1a fix compiler warning; -1 is not comparable to entry->type 2010-01-07 21:50:17 +00:00
Sears Russell
f3d06543e5 silence spammy debugging messages; clean up check_io test case implementation a bit 2010-01-06 23:44:07 +00:00
Sears Russell
078a8619fe check flex version (fixes compilation under rhel 5) 2010-01-06 23:43:31 +00:00
Sears Russell
1af589dd18 remove malloc and memcpy from the in_memory_log read path 2009-12-31 23:25:56 +00:00
Sears Russell
1409a9eb27 more refactoring; log handles now manage their log entries memory 2009-12-31 23:01:37 +00:00
Sears Russell
a5788688c8 refactor getUpdateArgs; remove a bunch of casts, fix a bunch of warnings 2009-12-31 20:20:47 +00:00
Sears Russell
1c82f9e76e add parens to ambiguous if 2009-12-31 19:47:27 +00:00
Sears Russell
9aa1d9d652 pull memcpy out of allocUpdateEntry() 2009-12-31 19:30:40 +00:00
Sears Russell
32e40c949d added log modes to sequentialThroughput benchmark, added methods for concurrent appends to log api (and stubbed them out) 2009-12-31 19:02:34 +00:00
Sears Russell
69c513b913 some untested code to deal with perl hashes 2009-12-31 17:39:35 +00:00
Sears Russell
7ff80f37ef add deferred, end of transaction callbacks. addresses issue 15 2009-12-15 06:30:37 +00:00
Sears Russell
5e2c02149c fixed warnings, turn on -Werror for Inline::Perl, added (untested) array methods to perl bindings 2009-12-14 18:07:57 +00:00
Sears Russell
230d863ff7 fix memory bug in perl binding 2009-12-10 02:38:31 +00:00
Sears Russell
efc6a0eabd add missing function declaration 2009-12-10 01:53:15 +00:00
Sears Russell
dfe83a215d reorder initialization code so that the i/o backend stuff happens all at once 2009-12-09 19:56:19 +00:00
Sears Russell
cd8c63889d clarify documentation 2009-12-09 19:55:27 +00:00
Sears Russell
a6bd46fef5 revert commit to referential that breaks build on machines without libcheck 2009-12-09 19:46:08 +00:00
Sears Russell
ac0d623d32 implemented support for tied perl hashes 2009-12-09 01:43:07 +00:00
Sears Russell
ed1ed5fcf2 perl unit tests are now automatically run 2009-12-08 23:17:17 +00:00
Sears Russell
83a0ec68fe fix rose bit rot, have unintialized page clear the impl pointer (for tidyness), remove some resolved @todos. 2009-12-04 19:33:09 +00:00
Sears Russell
2e237f2e2b fix memory allocation bug in rose benchmark initialization code 2009-12-04 19:26:23 +00:00
Sears Russell
16372e46d2 fix warning + problem with tdestroy() detection 2009-11-30 19:38:35 +00:00
Sears Russell
7d1b702239 revert part of opensolaris patch--pack recordids again 2009-11-30 01:01:30 +00:00
Sears Russell
85c8e9f82c initial openbsd port 2009-11-29 06:57:16 +00:00
Sears Russell
2ff421bff0 initial opensolaris port 2009-11-29 03:22:36 +00:00
Sears Russell
1d7e60dbd0 fix more automake build errors 2009-11-24 18:42:44 +00:00
Sears Russell
2535f69fbc switch the concurrent hash to use lru->getStaleAndRemove; fix crashes due to partial leak of thread local pages on thread shutdown 2009-11-24 01:43:36 +00:00
Sears Russell
38b999dfed add missing stlredblack.h header 2009-11-24 01:41:55 +00:00
Sears Russell
dd0c96a8a7 fixed implementation of hashtable_test_and_set 2009-11-24 01:32:59 +00:00
Sears Russell
675bdce24a wrote some wrappers that emulate redblack; default to stl tree for now 2009-11-24 00:24:18 +00:00
Sears Russell
0f3902b34a fix build error 2009-11-23 23:04:01 +00:00
Sears Russell
0ae8267f2c cleaned up comparators; did not fix any bugs though 2009-11-10 02:15:58 +00:00
Sears Russell
07c3ad7979 less concurrent latching 2009-11-10 02:15:39 +00:00
Sears Russell
51911f79f2 fix compiler warning 2009-11-09 23:45:50 +00:00