1
0
Fork 0

fixed typos

This commit is contained in:
jsteemann 2018-10-02 18:19:12 +02:00
parent 56147843c2
commit cc21a938c7
6 changed files with 7 additions and 7 deletions

View File

@ -2594,7 +2594,7 @@ int flushWalOnAllDBServers(bool waitForSync, bool waitForCollector, double maxWa
} }
if (nrok != (int)DBservers.size()) { if (nrok != (int)DBservers.size()) {
LOG_TOPIC(WARN, arangodb::Logger::CLUSTER)\ LOG_TOPIC(WARN, arangodb::Logger::CLUSTER)
<< "could not flush WAL on all servers. confirmed: " << nrok << "could not flush WAL on all servers. confirmed: " << nrok
<< ", expected: " << DBservers.size(); << ", expected: " << DBservers.size();
return globalErrorCode; return globalErrorCode;

View File

@ -206,7 +206,7 @@ bool BaseEngine::lockCollection(std::string const& shard) {
LOG_TOPIC(ERR, arangodb::Logger::CLUSTER) LOG_TOPIC(ERR, arangodb::Logger::CLUSTER)
<< "Locking shard " << shard << " lead to exception '" << "Locking shard " << shard << " lead to exception '"
<< lockResult.errorNumber() << "' (" << lockResult.errorNumber() << "' ("
<< lockResult.errorMessage() << ") "; << lockResult.errorMessage() << ")";
return false; return false;
} }

View File

@ -137,7 +137,7 @@ class NearUtils {
/// @brief remove closest buffered result /// @brief remove closest buffered result
void popNearest() { _buffer.pop(); } void popNearest() { _buffer.pop(); }
/// @brief reset query to inital state /// @brief reset query to initial state
void reset(); void reset();
/// aid density estimation by reporting a result close /// aid density estimation by reporting a result close

View File

@ -505,7 +505,7 @@ int IResearchLink::unload() {
LOG_TOPIC_IF(WARN, arangodb::iresearch::TOPIC, TRI_ERROR_NO_ERROR != res) LOG_TOPIC_IF(WARN, arangodb::iresearch::TOPIC, TRI_ERROR_NO_ERROR != res)
<< "failed to drop collection from view while unloading dropped " << "failed to drop collection from view while unloading dropped "
<< "IResearch link '" << _id << "' for IResearch view '" << "arangosearch link '" << _id << "' for arangosearch view '"
<< _view->name() << "'"; << _view->name() << "'";
return res; return res;

View File

@ -138,7 +138,7 @@ class DatabaseInitialSyncer final : public InitialSyncer {
bool isAborted() const override; bool isAborted() const override;
/// @brief insert the batch id and barrier ID. /// @brief insert the batch id and barrier ID.
/// For use in globalinitalsyncer /// For use in globalinitialsyncer
// TODO worker safety // TODO worker safety
void useAsChildSyncer(replutils::MasterInfo const& info, uint64_t barrierId, void useAsChildSyncer(replutils::MasterInfo const& info, uint64_t barrierId,
double barrierUpdateTime, uint64_t batchId, double barrierUpdateTime, uint64_t batchId,

View File

@ -68,13 +68,13 @@ struct ReplicationApplierState {
char _progressTime[24]; char _progressTime[24];
TRI_server_id_t _serverId; TRI_server_id_t _serverId;
/// performs inital sync or running tailing syncer /// performs initial sync or running tailing syncer
bool isActive() const { bool isActive() const {
return (_phase == ActivityPhase::INITIAL || return (_phase == ActivityPhase::INITIAL ||
_phase == ActivityPhase::TAILING); _phase == ActivityPhase::TAILING);
} }
/// performs inital sync or running tailing syncer /// performs initial sync or running tailing syncer
bool isInitializing() const { bool isInitializing() const {
return _phase == ActivityPhase::INITIAL; return _phase == ActivityPhase::INITIAL;
} }