summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Import wiredtiger: 7aaeaaa054d1ac27a95c79984f7ca69ba739caae from branch ↵Alex Gorrod2017-06-07680-3776/+10593
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mongodb-3.6 ref: 78109ca3fe..7aaeaaa054 for: 3.5.9 SERVER-28820 Recovery failed: WT_NOTFOUND: item not found SERVER-28835 Fix a memory leak in WiredTiger on error when creating thread group WT-2972 Add interface allowing partial updates to existing values WT-3041 Failure of test_perf01 on PPC WT-3063 Reserve records for read-modify-write WT-3076 Add a general-purpose epoch manager WT-3123 Thread group holding lock across thread join WT-3142 Add a workload generator application WT-3158 Fix structure layout on Windows. WT-3160 Improve eviction of internal pages from idle trees WT-3197 aarch64 CRC32C support fails to compile on non-linux ARM platforms WT-3219 Make the clang-analyzer job fail when lint is introduced WT-3222 Review and enhance log statistics WT-3245 Avoid hangs on shutdown when a utility thread encounters an error WT-3247 Test should exit instead of abort to avoid a core dump WT-3248 Performance degradation in workload with large overflow items WT-3253 txn07 test problem WT-3258 Improve visibility into thread wait time due to pages exceeding memory_page_max WT-3261 add a checkpoint epoch to avoid draining the eviction queue WT-3262 Schema operations shouldn't wait for cache WT-3263 Allow archive on restart/recovery if clean shutdown WT-3264 Permanent change to disable logging should eventually remove all logs WT-3265 Verify hits assertion in eviction when transiting handle to exclusive mode WT-3266 Thread group deadlock WT-3267 Upgrade copyright notices from 2016 to 2017. WT-3268 Failure to close cursor can get wiredtiger stuck in a cursor-close loop WT-3269 Miscellaneous cleanup changes WT-3271 Eviction tuning stuck in a loop WT-3275 stress test sanitizer failure WT-3278 log the row-store cursor key instead of page key WT-3281 stress test sanitizer failure WT-3282 Stuck in conn cache pool destroy join WT-3284 tree-walk restart bug WT-3287 review WiredTiger internal panic checks WT-3288 fix error codes for event_handler to be consistent in file operations WT-3292 review/cleanup full-barrier calls in WiredTiger WT-3293 Make internal symbols externally visible WT-3296 LAS table fixes/improvements WT-3297 support the gcc/clang -fvisibility=hidden flag WT-3300 Coverity 1374542: Dereference after null check WT-3302 Failure to create cache pool manager thread results in crash when destroying cache pool WT-3303 Deadlock during first access to lookaside table WT-3307 FI testing: segfault in python test test_bug013 when fault introduced reading turtle file WT-3312 encryption btree configuration test WT-3313 Replace calls to the deprecated LZ4_compress function WT-3314 clarify error handling WT-3327 Checkpoints can hang if time runs backward WT-3331 Test format aborted due to time rollback WT-3333 Make it possible to store 0 bytes into a 'u' format via Python WT-3334 static test suite's BaseDataSet class has 'u' value format bugs WT-3339 The CURSOR_UPDATE_API_CALL macro will dump core on a NULL btree handle WT-3342 Create a new WiredTiger 2.9.2 release WT-3343 WiredTiger database close can attempt unlock of a lock that's not held. WT-3345 Improve rwlock scaling WT-3348 Lint, Windows warnings. WT-3351 Recovery assertion failure: old_lognum < lognum WT-3354 Coverity issues 1375904-1375907 WT-3356 rwlock assertion failure on PPC
* SERVER-27769 Add wallClock time to oplogMisha Tyulenev2017-06-062-5/+24
|
* SERVER-28445 Compute operationTime in command error responseMisha Tyulenev2017-06-061-14/+12
|
* SERVER-29458 Fix building on FreeBSDADAM David Alan Martin2017-06-061-0/+8
| | | | | | | | | | `ProcessInfo::getNumAvailableCores` has no implementation on FreeBSD. After the change made in `153c4a036ac` (SERVER-29238), the codebase is no longer able to build on FreeBSD. This is due to a missing implementation of `ProcessInfo::getNumAvailableCores` on FreeBSD. The implementation was always missing, but as it is finally used after the referenced change, the final binaries will not link.
* Revert "SERVER-29434 Don't accept empty timestamps for readConcern ↵Judah Schvimer2017-06-061-5/+0
| | | | | | afterClusterTime" This reverts commit 783d11c4ea92784dc6ca0cc0419403c454c9ec9c.
* SERVER-29037: Updated logging in replication coordinator to show new ↵Allison Chang2017-06-061-1/+3
| | | | replSetConfig
* SERVER-28608 Vendorize the timelib libraryDerick Rethans2017-06-0637-0/+82286
| | | | | | Closes #1153 Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
* SERVER-29434 Don't accept empty timestamps for readConcern afterClusterTimeJack Mulrow2017-06-061-0/+5
|
* SERVER-28458 Unit test wall clock reset admin errorsJack Mulrow2017-06-062-2/+74
|
* SERVER-2938 Improved lock file error messageGWlodarek2017-06-062-6/+19
|
* SERVER-27633 Rename reloadShardRegistryUntilSuccess in ↵chorn2017-06-064-7/+8
| | | | sharding_initialization.h/cpp
* Revert "SERVER-28944 change validate() reporting order"Max Hirschhorn2017-06-051-6/+3
| | | | This reverts commit ff41e9df657f70900bc812d29346790370f7d177.
* SERVER-28767 UpdateNode::apply uses exceptions instead of Status.Justin Seyster2017-06-0515-1408/+1402
|
* SERVER-29020 Upgrade vendored copy of ASIO to ↵Spencer Jackson2017-06-05964-98240/+109259
| | | | 524288cb4fcf84664b3dc39cb4424c7509969b92
* SERVER-28944 change validate() reporting orderRobert Guo2017-06-051-3/+6
|
* SERVER-28300 Fix lintsamantharitter2017-06-053-6/+8
|
* SERVER-29073 Allow variable definition within $lookupJames Wahlin2017-06-056-61/+274
|
* SERVER-29240 Add test to ensure valid index creation for capped collections ↵William Schultz2017-06-051-0/+18
| | | | | | during initial sync
* SERVER-29238 Implement ServiceStateMachineJonathan Reams2017-06-0515-194/+900
|
* SERVER-28300 Implement mock libraries to test logical session cacheSamantha Ritter2017-06-058-0/+849
|
* SERVER-28300 Implement the logical session cacheSamantha Ritter2017-06-057-8/+440
|
* SERVER-28300 Add interfaces for logical session cache supporting typesSamantha Ritter2017-06-055-0/+251
|
* SERVER-28300 Make PeriodicRunnerASIO more resilientsamantharitter2017-06-052-3/+9
|
* SERVER-29441 Clean up declaration of the cpuprofiler libraryAndrew Morrow2017-06-052-40/+38
|
* SERVER-29327: Prevent DBDirectClient from storing MaxTimeMS on cursorsSpencer Jackson2017-06-053-14/+23
|
* SERVER-29443 Fix iOS and tvOS compilesAndrew Morrow2017-06-052-1/+5
|
* SERVER-29253 Migrate cursor manager to the client cursor lib.ADAM David Alan Martin2017-06-0513-53/+44
| | | | | | Putting `CursorManager` and `ClientCursor` in the same library allows us to remove a cycle exemption in cursor and to fully resolve mmap_v1 against dependencies.
* SERVER-29342 Fix build on windosNathan Myers2017-06-022-4/+1
|
* SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary readsNathan Myers2017-06-029-146/+337
|
* SERVER-28743: Have WiredTiger data structures be --groupCollections aware.Daniel Gottlieb2017-06-0219-894/+1934
| | | | | | | WiredTigerRecordStores and WiredTigerIndexes instantiated with a KVPrefix will now transparently persist and query for data with the associated prefix. A prefix is represented as a 64-bit integer and is concatenated onto each key inserted into each grouped RecordStore/Index.
* SERVER-29237 add maxConnecting in asio connpoolJason Carey2017-06-026-6/+249
| | | | | | | | | | | A new connection pool option which controls that rate at which we add new connections. It changes behavior so that only N connections can be in the processing state at any one time (in setup/refresh). More connections will be added, if needed, as each new connection completes, fails or times out. available in mongos via ShardingTaskExecutorPoolMaxConnecting, defaults to unlimited.
* SERVER-28767 Create IncNode/MulNodeJustin Seyster2017-06-0211-79/+2173
| | | | | | | | A lot of the update modifiers have behavior that is very similar to $set in how paths that don't yet exist get created (including $inc and $mul, which are added in this commit). The new PathCreatingNode will allow us to use the same path creation code path in all those modifiers.
* SERVER-29333 replace incorrect use of getStatusFromCommandResult in ↵Dianna Hohensee2017-06-021-6/+24
| | | | ShardServerCatalogCacheLoader
* SERVER-29334 remove dotted field name check from BSONObj::okForStorageDianna Hohensee2017-06-024-100/+11
|
* SERVER-29396 Fix logical clock unit test for ↵Kevin Pulo2017-06-021-3/+3
| | | | kMaxAcceptableLogicalClockDriftSecs rename
* SERVER-29396 maxAcceptableLogicalClockDriftSecs must be positiveKevin Pulo2017-06-022-15/+15
| | | | Rename parameter to have the "Secs" unit at the end, and prevent it from being 0.
* Revert "SERVER-29342 CollectionShardState/RangeDeleter support for safe ↵Nathan Myers2017-06-019-337/+146
| | | | | | secondary reads" This reverts commit 6bf062db95d69f06b02da708b54f5e3efbb9dfa5.
* SERVER-29342 CollectionShardState/RangeDeleter support for safe secondary readsNathan Myers2017-06-019-146/+337
|
* SERVER-29274 make reaper mandatory in Database::dropCollection()Benety Goh2017-06-015-121/+99
|
* SERVER-29315 Fix lint issue.ADAM David Alan Martin2017-06-011-2/+2
|
* SERVER-29315 Fix `clonable_ptr_test` in UBSANADAM David Alan Martin2017-06-012-28/+30
| | | | | | | | | | The `clonable_ptr_test` has several test cases exclusively dedicated to verifying the syntax of this component. These tests trigger UBSAN errors on creating a reference to a dereferenced null pointer even though the pointer is never used. This fix makes the tests never run (by hiding them behind an if-false block), but still compile, making them true compile-time-only tests. This is more consistent with their intended behavior: syntax testing
* SERVER-29002: Fixed typo in IndexBoundsBuilder::simpleRegexAnne Lim2017-06-011-1/+1
|
* SERVER-29283 Fix circular shared_ptr dependency in the periodic runnersamantharitter2017-06-014-62/+153
|
* SERVER-29210: Manage WiredTiger checkpoints in MongoDB.Daniel Gottlieb2017-06-012-2/+56
| | | | | | | | | | | | | Prior to this change, WiredTiger would be started with a configuration that instructs WiredTiger to start its own checkpoint thread. The parameters would trigger a checkpoint every 60 seconds or 2GB of data written to the journal. This patch disables WiredTiger's checkpoint thread and moves the responsibility to MongoDB. The checkpoint thread now only checkpoints every 60 seconds (still configurable with `--syncdelay`). The trigger on the amount of data written to the journal was removed as an unnecessary mechanism to maintain parity with.
* SERVER-27310 Add support for zlib wire protocol compressionHannes Magnusson2017-06-019-3/+293
| | | | | | Closes #1152 Signed-off-by: Jonathan Reams <jbreams@mongodb.com>
* SERVER-29197 initial sync now builds capped indexes correctlyEric Milkie2017-05-312-22/+61
| | | | | | In initial sync, capped indexes were built along with regular indexes, as documents were inserted, using the MultiIndexBlock. This structure requires that no records are deleted before committing the index builds. But the collection cap might delete records prior to commit. The new way to build capped indexes will be to create the indexes on a capped collection prior to inserting any records, for initial sync.
* SERVER-28837 Do not attempt to subtract negative cursorTimeoutMillis.Justin Seyster2017-05-311-2/+7
| | | | | | | | | | | | | | | An INT_MIN value for cursorTimeoutMillis can crash mongos when we try to subtract that value (which gets cast to a Duration) from the current time. Because a negative cursorTimeoutMillis is semantically the same as a 0 value, this change ignores negative values when performing the offending subtraction. It would be reasonable to clamp cursorTimeoutMillis to 0 using input validation, but I don't see a good way to do that. Because a Duration cannot be an unsigned type, we have to keep cursorTimeoutMillis as an int. Unfortunately, we don't really have a way restrict the values that the user sets with the setParameter command except to enforce that the value fits in the data typed used for the parameter.
* SERVER-29274 applyCommand_inlock() passes optime from oplog entry to ↵Benety Goh2017-05-311-1/+1
| | | | mongo::dropCollection()
* SERVER-29274 Database::dropCollection() renames collection using provided ↵Benety Goh2017-05-312-28/+128
| | | | drop optime if provided
* SERVER-29351 remove redundant use of BSONObj::storageValidEmbedded from ↵Dianna Hohensee2017-05-302-50/+0
| | | | modifier_add_to_set.cpp