mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
19 lines
415 B
C++
19 lines
415 B
C++
// d_logic.h
|
|
|
|
#pragma once
|
|
|
|
#include "stdafx.h"
|
|
|
|
namespace mongo {
|
|
|
|
/**
|
|
* @return true if the current threads shard version is ok, or not in sharded version
|
|
*/
|
|
bool shardVersionOk( const string& ns , string& errmsg );
|
|
|
|
/**
|
|
* @return true if we took care of the message and nothing else should be done
|
|
*/
|
|
bool handlePossibleShardedMessage( Message &m, DbResponse &dbresponse );
|
|
}
|