This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/mongo/transport/asio/asio_session_impl.cpp b/src/mongo/transport/asio/asio_session_impl.cpp | |
index dd0bef9f0a8..7a4bd6e4160 100644 | |
--- a/src/mongo/transport/asio/asio_session_impl.cpp | |
+++ b/src/mongo/transport/asio/asio_session_impl.cpp | |
@@ -46,6 +46,9 @@ | |
#include "mongo/util/net/socket_utils.h" | |
#include "mongo/util/signal_handlers_synchronous.h" | |
+#include "mongo/util/concurrency/ticketholder.h" | |
+#include "mongo/db/admission/ticketholder_manager.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
function createCommandOptions(manager, localOptions) { | |
const options = Object.assign( | |
{ | |
host: 'defaultHost', | |
port: 27017, | |
connectionTimeoutMS: 5000, | |
socketTimeoutMS: 0, | |
pool: 1, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongodb = require('mongodb'); | |
const MongoClient = mongodb.MongoClient; | |
const expect = require('chai').expect; | |
const MongoNetworkError = mongodb.MongoNetworkError; | |
const testContext = {}; | |
describe('Beta Examples (transactions)', function() { | |
before(function() { | |
testContext.url = 'mongodb://localhost:27017/test?replicaSet=rs0'; | |
return MongoClient.connect(testContext.url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const mongodb = require('mongodb'); | |
const MongoClient = mongodb.MongoClient; | |
const expect = require('chai').expect; | |
const MongoNetworkError = mongodb.MongoNetworkError; | |
const testContext = {}; | |
describe('Beta Examples (transactions)', function() { | |
before(function() { | |
testContext.url = 'mongodb://localhost:27017/test?replicaSet=rs0'; | |
return MongoClient.connect(testContext.url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module testlib [system] { | |
header "test-library-shim.h" | |
link "testlib" | |
export * | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static NAN_METHOD(Test) { | |
// do some work | |
DoReturn(info); | |
} | |
void DoReturn(const Nan::FunctionCallbackInfo<v8::Value> &info) { | |
info.GetReturnValue().Set(5555); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From b8965640622e2b649503b67faf88b9acba23bba6 Mon Sep 17 00:00:00 2001 | |
From: Matt Broadstone <[email protected]> | |
Date: Mon, 11 Apr 2016 09:43:16 -0400 | |
Subject: [PATCH 4/4] remove no-registry flag for npm install | |
--- | |
mk/support/pkg/npm-pkg.inc | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/mk/support/pkg/npm-pkg.inc b/mk/support/pkg/npm-pkg.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d /run/rethinkdb 0755 rethinkdb rethinkdb - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=RethinkDB database server for instance '%i' | |
[Service] | |
User=rethinkdb | |
Group=rethinkdb | |
ExecStart=/usr/bin/rethinkdb serve --config-file /etc/rethinkdb/instances.d/%i.conf | |
KillMode=process | |
PrivateTmp=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 859f52eb1ca37c937ed30af0ac6a1fd98fb64618 Mon Sep 17 00:00:00 2001 | |
From: Matt Broadstone <[email protected]> | |
Date: Mon, 11 Apr 2016 12:08:58 -0400 | |
Subject: [PATCH 5/5] use separate toolsets for v8 while cross compiling | |
--- | |
mk/support/pkg/v8.sh | 11 ++++++++--- | |
1 file changed, 8 insertions(+), 3 deletions(-) | |
diff --git a/mk/support/pkg/v8.sh b/mk/support/pkg/v8.sh |
NewerOlder