mirror of https://gitee.com/bigwinds/arangodb
Revert "Correct debugging output for McHacki."
This reverts commit fa680febc42ef0870c5af4d329180995a10b835a.
This commit is contained in:
parent
c5595799a7
commit
931fb631b2
|
@ -428,7 +428,7 @@ bool HeartbeatThread::handlePlanChangeCoordinator (uint64_t currentPlanVersion,
|
|||
TRI_GetDatabaseDefaultsServer(_server, &defaults);
|
||||
|
||||
// create a local database object...
|
||||
LOG_INFO("Creating local database object %s(%llu) because of plan change.", name.c_str(), (unsigned long long) id);
|
||||
LOG_INFO("Creating local database object %s(%llu) because of plan change.", name.c_str(), id);
|
||||
TRI_CreateCoordinatorDatabaseServer(_server, id, name.c_str(), &defaults, &vocbase);
|
||||
|
||||
if (vocbase != 0) {
|
||||
|
@ -459,7 +459,7 @@ bool HeartbeatThread::handlePlanChangeCoordinator (uint64_t currentPlanVersion,
|
|||
// something is wrong... probably the database server with the
|
||||
// _users collection is not yet available
|
||||
// delete the database again (and try again next time)
|
||||
LOG_INFO("Dropping local database object %s(%llu) because _users collections is not (yet) available.", vocbase->_name, (unsigned long long) vocbase->_id);
|
||||
LOG_INFO("Dropping local database object %s(%llu) because _users collections is not (yet) available.", vocbase->_name, vocbase->_id);
|
||||
TRI_ReleaseVocBase(vocbase);
|
||||
TRI_DropByIdCoordinatorDatabaseServer(_server, vocbase->_id, true);
|
||||
|
||||
|
@ -488,7 +488,7 @@ bool HeartbeatThread::handlePlanChangeCoordinator (uint64_t currentPlanVersion,
|
|||
vector<TRI_voc_tick_t>::const_iterator r = std::find(ids.begin(), ids.end(), *p);
|
||||
|
||||
if (r == ids.end()) {
|
||||
LOG_INFO("Dropping local database object %llu because it is no longer in plan.", (unsigned long long) *p);
|
||||
LOG_INFO("Dropping local database object %llu because it is no longer in plan.", *p);
|
||||
TRI_DropByIdCoordinatorDatabaseServer(_server, *p, false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue