Skip to content

Temporal #1

Open
wants to merge 60 commits into from

2 participants

@stefankoegl
Owner

Adding transaction-time support for documents, can be enabled per collection.

and others added some commits Nov 15, 2012
@stefankoegl store transaction-time flag in NamespaceDetail d8ff066
@stefankoegl wrap _id in transaction-time _id object 5c5974d
@stefankoegl add transaction-time handling for $-operator updates 0cd7b22
@stefankoegl add transaction-time handling for full (non $-operator) updates c97539e
@stefankoegl move transaction-time related code into ttime.{h,cpp} 1a07a88
@stefankoegl transaction-time support for deleting documents adb59ac
@stefankoegl use same timestamp for end and start of adjacent versions c353ba8
@stefankoegl partial support for temporal queries
enables the following queries

* only current (default)
* transaction: {all: true}
* transaction: {at: Timestamp(123, 1)}
026b510
@stefankoegl add support for transaction.inrange, refactoring 2298365
@stefankoegl Merge branch 'master' into temporal 63fab6d
@stefankoegl some temporal queries did not return any results
The transation: {...} wasn't removed from the resulting query
0de72c4
@stefankoegl possibility to detect invalid temporal queries d624b5e
@stefankoegl move transaction_end after the wrapped _id
this ensures that _id does not change, and removes the previous exception to
this rule for temporal collections
68b33e8
@stefankoegl revert whitespace-only change from c353ba8 d0643b5
@stefankoegl automatically create temporal index for temp collections f0b63d2
@stefankoegl Merge branch 'master' into temporal 0e24187
@stefankoegl Merge branch 'master' into temporal 1065ba6
@stefankoegl implement temporal comparison ops $t(l|g)[e]
the temporal versions of the operators treat null as the largest values,
because it represents "now" and is always larger than any other
transaction-time
74037ec
@stefankoegl support sorting by transaction-time 2cec210
@stefankoegl Merge branch 'master' into temporal cc86c96
@stefankoegl Merge branch 'master' into temporal
Conflicts:
	src/mongo/bson/bson-inl.h
	src/mongo/db/namespace_details.cpp
	src/mongo/db/namespace_details.h
a4bd23d
@stefankoegl fix create temporal index dc72004
@stefankoegl update DBClient to include temporal param (req'd for tests) 38d9a02
@stefankoegl fix adding default _id and adding temporal wrapper 8b77ee2
@stefankoegl fix accessing freed memory wheninserting temporal doc be8a0ed
@stefankoegl Merge branch 'master' into temporal
Conflicts:
	src/mongo/db/namespace_details.cpp
	src/mongo/db/pdfile.cpp
3bfc1ba
@stefankoegl prevent changes of transaction-timestamps by the user f69626e
@stefankoegl implement tests for temporal collections 0c712c2
@stefankoegl enable TTL indexes for Timestamp-valued fields 40fed0e
@stefankoegl Merge branch 'master' into temporal
Conflicts:
	src/mongo/db/pdfile.cpp
	src/mongo/db/pipeline/value.cpp
0878ef8
@stefankoegl Merge branch 'master' into temporal 4b0ae85
@stefankoegl reorder params of DBClientWithCommands::createCollection() 549221e
@stefankoegl fix "inrange" queries 1c3afa0
@stefankoegl add README explaining transaction-time prototype dbbfb0b
@stefankoegl fixed formatting in README.ttime.md a2a7410
@stefankoegl add end-timestamp to indexed fields b16a32a
@stefankoegl Merge branch 'master' into temporal
Conflicts:
	src/mongo/bson/bsonobj.h
	src/mongo/db/jsobj.cpp
bc51d8d
@stefankoegl refactoring, comments, assertions 05fb48e
@stefankoegl auto-add unique index on _id._id and transaction_end cb13a0d
@stefankoegl fixed typo, wording in README.ttime.md aad67d3
@stefankoegl Merge branch 'master' into temporal
Conflicts:
	src/mongo/db/index.cpp
	src/mongo/db/ops/query.cpp
	src/mongo/db/ops/update.cpp
	src/mongo/db/pipeline/expression.cpp
	src/mongo/db/ttl.cpp
f441b49
@erh erh SERVER-8044: fix possible deadlock in kill op and fix index killing code 5d0c966
@erh erh spam d1f7eee
@erh erh make replication tests more reliable bd05bb2
@erh erh try to make sharding tests more reliable when needing balancing to be…
… done
4a9c846
@erh erh fix sharding test 33600ec
@erh erh scons fixes for fts and --32 bc8a25a
@erh erh fix constructor check by making sure we don't throw a PageFaultExcept…
…ion while creating a new db
62cb06b
@erh erh more logging for dropDatabase 5e4b69b
@erh erh better handle db/collection drops during migration eaf67b0
@erh erh make remove2 more reliable 5860ed9
@stefankoegl Merge branch 'master' into temporal 50c1311
@stefankoegl field order for creating temporal unique _id index ad12212
@stefankoegl WIP: include query history fa05317
@stefankoegl trigger result history from $history parameter 7eb348c
@stefankoegl remove print statements 366c708
@stefankoegl limit historic results based on $history parameter 6f49fac
@stefankoegl automatically create index for historic results 449f7f5
@stefankoegl Merge remote-tracking branch 'github/temporal-tquery' into temporal 5064e78
@stefankoegl include result history in README.ttime.md f333476
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.