diff options
author | Waley Chen <waleycz@gmail.com> | 2016-03-14 15:46:02 -0400 |
---|---|---|
committer | Waley Chen <waleycz@gmail.com> | 2016-03-17 16:43:04 -0400 |
commit | fd45f0311d634198060128001fac04ecbcefc808 (patch) | |
tree | 6ee3f682c642afb62d477500556e1a10b0db29ec /src/mongo/s/request.cpp | |
parent | 13435ba4e4ae6df60bc6999ccadd973fe34a5d14 (diff) | |
download | mongo-fd45f0311d634198060128001fac04ecbcefc808.tar.gz |
SERVER-20077 requestId field of message header should always be a signed integer
Diffstat (limited to 'src/mongo/s/request.cpp')
-rw-r--r-- | src/mongo/s/request.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/request.cpp b/src/mongo/s/request.cpp index dcd78794a93..a396b0d7b86 100644 --- a/src/mongo/s/request.cpp +++ b/src/mongo/s/request.cpp @@ -84,7 +84,7 @@ void Request::process(OperationContext* txn, int attempt) { int op = _m.operation(); verify(op > dbMsg); - const MSGID msgId = _m.header().getId(); + const int32_t msgId = _m.header().getId(); LOG(3) << "Request::process begin ns: " << getnsIfPresent() << " msg id: " << msgId << " op: " << op << " attempt: " << attempt; |