mirror of https://gitee.com/bigwinds/arangodb
remove some unused parts (#5746)
This commit is contained in:
parent
545561e9a9
commit
0f05934a85
|
@ -230,12 +230,10 @@ VPackBuilder ClusterEngine::getReplicationApplierConfiguration(
|
|||
int& status
|
||||
) {
|
||||
THROW_ARANGO_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
return VPackBuilder();
|
||||
}
|
||||
|
||||
VPackBuilder ClusterEngine::getReplicationApplierConfiguration(int& status) {
|
||||
THROW_ARANGO_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
return VPackBuilder();
|
||||
}
|
||||
|
||||
// database, collection and index management
|
||||
|
|
|
@ -91,12 +91,8 @@ static void JS_WaitCollectorWal(
|
|||
TRI_V8_TRY_CATCH_BEGIN(isolate);
|
||||
v8::HandleScope scope(isolate);
|
||||
|
||||
if (ServerState::instance()->isCoordinator()) {
|
||||
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
}
|
||||
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
|
||||
// this is just a stub
|
||||
TRI_V8_RETURN_TRUE();
|
||||
TRI_V8_TRY_CATCH_END
|
||||
}
|
||||
|
||||
|
@ -106,12 +102,8 @@ static void JS_TransactionsWal(
|
|||
TRI_V8_TRY_CATCH_BEGIN(isolate);
|
||||
v8::HandleScope scope(isolate);
|
||||
|
||||
if (ServerState::instance()->isCoordinator()) {
|
||||
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
}
|
||||
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
|
||||
// this is just a stub
|
||||
TRI_V8_RETURN_TRUE();
|
||||
TRI_V8_TRY_CATCH_END
|
||||
}
|
||||
|
||||
|
@ -120,12 +112,8 @@ static void JS_PropertiesWal(v8::FunctionCallbackInfo<v8::Value> const& args) {
|
|||
TRI_V8_TRY_CATCH_BEGIN(isolate);
|
||||
v8::HandleScope scope(isolate);
|
||||
|
||||
if (ServerState::instance()->isCoordinator()) {
|
||||
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
}
|
||||
TRI_V8_THROW_EXCEPTION(TRI_ERROR_NOT_IMPLEMENTED);
|
||||
|
||||
// this is just a stub
|
||||
TRI_V8_RETURN_TRUE();
|
||||
TRI_V8_TRY_CATCH_END
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue