mirror of https://gitee.com/bigwinds/arangodb
fixed typos
This commit is contained in:
parent
56147843c2
commit
cc21a938c7
|
@ -2594,7 +2594,7 @@ int flushWalOnAllDBServers(bool waitForSync, bool waitForCollector, double maxWa
|
|||
}
|
||||
|
||||
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
|
||||
<< ", expected: " << DBservers.size();
|
||||
return globalErrorCode;
|
||||
|
|
|
@ -206,7 +206,7 @@ bool BaseEngine::lockCollection(std::string const& shard) {
|
|||
LOG_TOPIC(ERR, arangodb::Logger::CLUSTER)
|
||||
<< "Locking shard " << shard << " lead to exception '"
|
||||
<< lockResult.errorNumber() << "' ("
|
||||
<< lockResult.errorMessage() << ") ";
|
||||
<< lockResult.errorMessage() << ")";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ class NearUtils {
|
|||
/// @brief remove closest buffered result
|
||||
void popNearest() { _buffer.pop(); }
|
||||
|
||||
/// @brief reset query to inital state
|
||||
/// @brief reset query to initial state
|
||||
void reset();
|
||||
|
||||
/// aid density estimation by reporting a result close
|
||||
|
|
|
@ -505,7 +505,7 @@ int IResearchLink::unload() {
|
|||
|
||||
LOG_TOPIC_IF(WARN, arangodb::iresearch::TOPIC, TRI_ERROR_NO_ERROR != res)
|
||||
<< "failed to drop collection from view while unloading dropped "
|
||||
<< "IResearch link '" << _id << "' for IResearch view '"
|
||||
<< "arangosearch link '" << _id << "' for arangosearch view '"
|
||||
<< _view->name() << "'";
|
||||
|
||||
return res;
|
||||
|
|
|
@ -138,7 +138,7 @@ class DatabaseInitialSyncer final : public InitialSyncer {
|
|||
bool isAborted() const override;
|
||||
|
||||
/// @brief insert the batch id and barrier ID.
|
||||
/// For use in globalinitalsyncer
|
||||
/// For use in globalinitialsyncer
|
||||
// TODO worker safety
|
||||
void useAsChildSyncer(replutils::MasterInfo const& info, uint64_t barrierId,
|
||||
double barrierUpdateTime, uint64_t batchId,
|
||||
|
|
|
@ -68,13 +68,13 @@ struct ReplicationApplierState {
|
|||
char _progressTime[24];
|
||||
TRI_server_id_t _serverId;
|
||||
|
||||
/// performs inital sync or running tailing syncer
|
||||
/// performs initial sync or running tailing syncer
|
||||
bool isActive() const {
|
||||
return (_phase == ActivityPhase::INITIAL ||
|
||||
_phase == ActivityPhase::TAILING);
|
||||
}
|
||||
|
||||
/// performs inital sync or running tailing syncer
|
||||
/// performs initial sync or running tailing syncer
|
||||
bool isInitializing() const {
|
||||
return _phase == ActivityPhase::INITIAL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue