Keith Bostic
344a714c3d
Upgrade copyright notices from 2015 to 2016.
2016-01-01 16:37:39 -05:00
Keith Bostic
a26d87a53e
Replace wiredtiger_strerror_r with WT_SESSION.strerror, reference #1516 .
2015-02-02 19:20:33 -05:00
Keith Bostic
1f9098871a
Copyright notices: add MongoDB, update to 2015.
2015-01-04 14:07:56 -05:00
Keith Bostic
e868998e1a
move ext/test/helium to ext/datasources/helium, we're shipping Helium
...
support for the forseeable future.
2014-01-20 09:44:22 -05:00
Keith Bostic
9b949044ca
Upgrade to Helium 2.0 (change object lengths from uint64_t types to size_t).
2014-01-20 09:21:35 -05:00
Keith Bostic
47cc29aeb7
Add placeholders for he_sys_trace_enabled, Helium debugging flags.
2014-01-18 14:52:58 -05:00
Keith Bostic
c286afce24
lint
2014-01-18 12:11:31 -05:00
Keith Bostic
01bdb98ee1
clean up spelling, make dist/s_all pass again.
2014-01-18 11:27:37 -05:00
Keith Bostic
f55804b2d4
test/format runs, now.
...
Remove the Memrata support, add Helium documentation, remaining cleanups.
2014-01-18 11:01:20 -05:00
Keith Bostic
5cf2d616da
Check the version against the header file to catch compile-time errors,
...
but check the run-time version as well, in case we compile with the
right header file, but run with the wrong shared library.
2014-01-17 14:06:50 -05:00
Keith Bostic
eb1e729a5f
Upgrade to Helium 1.9.
2014-01-16 19:22:23 -05:00
Keith Bostic
dbcabf9a77
Rework/review the name-space #defines again, I like what I had before
...
better.
Add verbose levels.
Add a string prefix-match macro, we're doing it a fair amount.
2014-01-16 18:06:25 -05:00
Keith Bostic
d7e7e50a15
More verbose messages, make it possible to configure verbosity at run-time.
2014-01-15 13:10:08 -05:00
Keith Bostic
3683f19354
Fix a bug where using the wrong Helium truncate flag.
...
Rework naming to be consistent, everything now uses the prefix.
Get rid of last remaining "memrata" and "kvs" mentions.
Minor function shuffling to keep related functions together.
2014-01-15 12:50:31 -05:00
Keith Bostic
6063b1cc0e
First version of the Levyx/Helium code, derived from the Memrata code.
...
It doesn't run yet, but it compiles and limps to a core dump.
2014-01-15 11:46:07 -05:00
Keith Bostic
5b509b7220
Update copyright notices for 2014.
...
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Keith Bostic
9aa469e13e
Better/fixed support for huge keys/values.
...
Change the WT_ITEM::size field from type uint32_t to size_t.
Change test/format configuration to support large key/value items.
Ref: #808 and #70 .
2013-12-16 12:55:50 -05:00
Keith Bostic
81559e02e9
Upgrade to KVS 1.4.13, this version resolves the last of the transaction
...
and namespace issues we've been seeing.
2013-09-06 07:07:24 -04:00
Keith Bostic
9d67506709
It's not (or shouldn't be) possible for us to see unresolved transactions
...
during a normal shutdown because WiredTiger rolls them back, there's no
reason to make extra work looking for them.
2013-09-05 12:42:02 -04:00
Keith Bostic
c6f4de2a6c
Review error messages, minor cleanup and consistency pass.
...
Upgrade to KVS version 1.4.11.
2013-09-05 12:31:20 -04:00
Keith Bostic
885dc54d9a
Only open the transaction store once per database, not once per KVS store.
2013-09-04 11:23:27 -04:00
Keith Bostic
990c54c18f
lint
2013-09-04 10:50:07 -04:00
Keith Bostic
56cb57af27
Rework our naming so that names on the KVS store are unambiguously ours so
...
we hopefully won't collide with other namespaces on the devices.
Use the new kvs_namespaces API to retrieve a list of objects from the KVS
store for recovery.
Upgrade to KVS version 4.9.
Somewhere along the line, we stopped passing the KVS configuration
information to kvs_open(), fix that bug.
2013-09-04 10:40:04 -04:00
Keith Bostic
cf16b9f4be
lint
2013-08-22 16:43:48 -04:00
Keith Bostic
ab70cec66d
typo
2013-08-22 16:30:24 -04:00
Keith Bostic
a9f1420404
General support for recovery of Memrata/KVS devices.
2013-08-22 16:26:46 -04:00
Keith Bostic
ffa8153582
update to the current Memrata design.
2013-08-20 16:01:48 -04:00
Alex Gorrod
066fa90965
Fix compiler warning:
...
../../../../ext/test/memrata/memrata.c:2612: error: unused variable ‘kvs_options’
../../../../ext/test/memrata/memrata.c:2612: error: unused variable ‘p’
2013-08-20 01:14:00 -04:00
Keith Bostic
533ce3c2da
Support the kvs_open_o_debug and kvs_open_o_truncate configuration strings
...
to the WT_SESSION.create method.
2013-08-15 18:45:37 -04:00
Keith Bostic
ddba17fa58
Clean up a race on the cleaner_stop flag; declaring it volatile should be
...
sufficient, all we care about is if it eventually gets set, and there is
eventually a run after that to clean out the cache.
Rework kvs_dump() to dump to a specific output file based on the tag.
Change the operation/byte limits for the cleaner to be roughly analogous
to each other, I hesitate to call this "tuning".
2013-08-15 15:36:07 -04:00
Keith Bostic
ecbe56bf03
The KVS source kvsowner field has to be set in all cases, otherwise the
...
database transaction store never gets closed.
2013-08-10 12:54:17 -04:00
Keith Bostic
15f7c3c06b
git really, really, really screwed up the merge.
2013-08-10 09:42:44 -04:00
Keith Bostic
a2a332f893
Note the transaction notify handler must appear first in the structure.
2013-08-10 09:38:09 -04:00
Keith Bostic
e7e64cf35e
Minor cleanup, clarify code that looks for existing transaction database
...
namespace.
2013-08-10 09:37:06 -04:00
Keith Bostic
7adfa0f6eb
Add kvs_open_o_debug to the list of options supported by session.create.
2013-08-10 09:34:56 -04:00
Keith Bostic
32ce66594a
git really, really, really screwed up this merge.
2013-08-10 09:32:22 -04:00
Keith Bostic
86870e5120
Code shuffling for cleanup, no real changes.
2013-08-10 09:24:40 -04:00
Keith Bostic
1a55e55fad
The device holding the database transaction store has to be closed last of
...
all, closing other devices makes calls into it.
2013-08-10 09:23:58 -04:00
Keith Bostic
50ef705315
Initialize in case we don't find a previously existing txn store.
2013-08-10 09:23:58 -04:00
Keith Bostic
4a1d255ae5
Rework the Memrata code to configure all of the KVS sources when the
...
shared library is loaded, rather than specifying a set of devices on
every call that takes a URI.
2013-08-10 09:23:58 -04:00
Keith Bostic
7f3c05463b
Add session.range_truncate entry.
2013-08-10 09:22:04 -04:00
Michael Cahill
60bf48743f
Use an interface for WT_TXN_NOTIFY so it doesn't need a magic cookie.
2013-08-09 15:54:52 +10:00
Michael Cahill
112c757e38
Move data source truncate method into WT_DATA_SOURCE.
2013-08-08 20:05:38 +10:00
Keith Bostic
20ec86b444
Rename WT_EXTENSION_API.transaction_resolve to
...
WT_EXTENSION_API.transaction_resolve.
2013-08-07 10:56:01 -04:00
Keith Bostic
45d8cfe04c
Replace __wt_ext_transaction_snapshot_isolation() with
...
__wt_ext_transaction_isolation_level().
2013-08-07 10:46:26 -04:00
Keith Bostic
2f3f48a528
Fix cache-append record length calculation.
2013-08-07 10:01:36 -04:00
Keith Bostic
21e5ba0f50
Note we're copying native 8B values into the store, so it's not
...
endian-portable.
2013-08-07 09:57:15 -04:00
Keith Bostic
ae7378120f
Bring the README up-to-date.
2013-08-01 20:47:12 -04:00
Keith Bostic
bff4e469af
When checking the primary cache as part of handling overwrite=false,
...
discard the record we read, it's only interesting if it doesn't exist,
we don't want to actually use it for anything.
Use [space] as a blank remove tombstone, it's easier to debug.
Use "entries" consistently for the number of entries in a record.
2013-08-01 13:19:46 -04:00
Keith Bostic
8def145754
Update the kvs_dump function, I need it for debugging.
2013-08-01 12:20:16 -04:00