Skip to content

Commit

Permalink
Merge pull request mongodb-partners#27 from denis-protyvenskyi/v3.2.11
Browse files Browse the repository at this point in the history
v3.2.11
  • Loading branch information
igorsol committed Nov 30, 2016
2 parents d5d935c + 6005112 commit 187577c
Show file tree
Hide file tree
Showing 6 changed files with 339 additions and 153 deletions.
8 changes: 4 additions & 4 deletions src/rocks_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,17 +350,17 @@ namespace mongo {
RocksRecordStore* recordStore =
options.capped
? new RocksRecordStore(
ns, ident, _db.get(), _counterManager.get(), _getIdentPrefix(ident), true,
options.cappedSize ? options.cappedSize : 4096, // default size
ns, ident, _db.get(), _counterManager.get(), _durabilityManager.get(), _getIdentPrefix(ident),
true, options.cappedSize ? options.cappedSize : 4096, // default size
options.cappedMaxDocs ? options.cappedMaxDocs : -1)
: new RocksRecordStore(ns, ident, _db.get(), _counterManager.get(),
_getIdentPrefix(ident));
_durabilityManager.get(), _getIdentPrefix(ident));

{
stdx::lock_guard<stdx::mutex> lk(_identObjectMapMutex);
_identCollectionMap[ident] = recordStore;
}
return recordStore;
return std::move(recordStore);
}

Status RocksEngine::createSortedDataInterface(OperationContext* opCtx, StringData ident,
Expand Down

0 comments on commit 187577c

Please sign in to comment.