Skip to content

Commit

Permalink
fix some typos (#4656)
Browse files Browse the repository at this point in the history
Co-authored-by: Doodle <[email protected]>
  • Loading branch information
180909 and critical27 authored Sep 20, 2022
1 parent 480b29a commit 7d5e93f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/clients/meta/MetaClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ class MetaClient : public BaseMetaClient {

ListenersMap doGetListenersMap(const HostAddr& host, const LocalCache& localCache);

// Checks if the the client version is compatible with the server version by checking the
// Checks if the client version is compatible with the server version by checking the
// whilelist in meta.
Status verifyVersion();

Expand Down
2 changes: 1 addition & 1 deletion src/common/conf/test/ConfigurationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ TEST(Configuration, ParseFromFile) {
fprintf(file, "// This a C++ style comment line\n");
fprintf(file, "# This a shell style comment line\n");
fprintf(file, "{ \n");
fprintf(file, "\t\"int\": 123, // this is a integer\n");
fprintf(file, "\t\"int\": 123, // this is an integer\n");
fprintf(file, "\t\"double\": 3.14 # this is a double\n");
fprintf(file, "} \n");
::fflush(file);
Expand Down
2 changes: 1 addition & 1 deletion src/kvstore/raftex/RaftPart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1988,7 +1988,7 @@ void RaftPart::processSendSnapshotRequest(const cpp2::SendSnapshotRequest& req,
lastTotalSize_ = 0;
} else if (lastSnapshotCommitId_ != req.get_committed_log_id() ||
lastSnapshotCommitTerm_ != req.get_committed_log_term()) {
// Still waiting for snapshot from another peer, just return error. If the the peer doesn't
// Still waiting for snapshot from another peer, just return error. If the peer doesn't
// send any logs during raft_snapshot_timeout, will convert to Status::RUNNING, so we can accept
// snapshot again
resp.error_code_ref() = nebula::cpp2::ErrorCode::E_RAFT_WAITING_SNAPSHOT;
Expand Down
2 changes: 1 addition & 1 deletion src/storage/exec/HashJoinNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace storage {
// several SingleEdgeNode of different edge types all edges of a vertex. The
// output would be the result of tag, it is a List, each cell save a list of
// property values, if tag not found, it will be a empty value. Also it will
// return a iterator of edges which can pass ttl check and ready to be read.
// return an iterator of edges which can pass ttl check and ready to be read.
class HashJoinNode : public IterateNode<VertexID> {
public:
using RelNode::doExecute;
Expand Down
4 changes: 2 additions & 2 deletions src/storage/test/IndexWriteTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ TEST(IndexTest, VerticesValueTest) {
auto* schemaMan = reinterpret_cast<mock::AdHocSchemaManager*>(env->schemaMan_);
schemaMan->addTagSchema(spaceId, tagId, mock::MockData::mockTypicaSchemaV2(pool));
}
// Mock a index for nullable column and default column.
// Mock an index for nullable column and default column.
{
auto* indexMan = reinterpret_cast<mock::AdHocIndexManager*>(env->indexMan_);
indexMan->addTagIndex(spaceId, tagId, indexId, mock::MockData::mockTypicaIndexColumns());
Expand Down Expand Up @@ -363,7 +363,7 @@ TEST(IndexTest, AlterTagIndexTest) {
auto* schemaMan = reinterpret_cast<mock::AdHocSchemaManager*>(env->schemaMan_);
schemaMan->addTagSchema(spaceId, tagId, mock::MockData::mockGeneralTagSchemaV1());
}
// Mock a index for nullable column and default column.
// Mock an index for nullable column and default column.
{
auto* indexMan = reinterpret_cast<mock::AdHocIndexManager*>(env->indexMan_);
indexMan->addTagIndex(spaceId, tagId, indexId1, mock::MockData::mockGeneralTagIndexColumns());
Expand Down

0 comments on commit 7d5e93f

Please sign in to comment.