This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new 0ed0b91a0 Fix typos
0ed0b91a0 is described below
commit 0ed0b91a09ea4cb714b2c6fad45572fb340a8078
Author: Ádám Bakai <[email protected]>
AuthorDate: Fri Jan 19 13:59:31 2024 +0100
Fix typos
Change-Id: I71524db97455bb27db44b5820cbe81fd95e207d9
Reviewed-on: http://gerrit.cloudera.org:8080/20927
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <[email protected]>
---
src/kudu/fs/dir_manager.cc | 2 +-
src/kudu/tools/ksck_checksum.h | 2 +-
src/kudu/util/minidump.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/kudu/fs/dir_manager.cc b/src/kudu/fs/dir_manager.cc
index fe8d42a4d..a0f489118 100644
--- a/src/kudu/fs/dir_manager.cc
+++ b/src/kudu/fs/dir_manager.cc
@@ -448,7 +448,7 @@ Status DirManager::LoadInstances(
string instance_filename = JoinPathSegments(dir,
instance_metadata_filename());
// Initialize the instance with a backup UUID. In case the load fails, this
- // will be the UUID for our instnace.
+ // will be the UUID for our instance.
string backup_uuid = gen.Next();
unique_ptr<DirInstanceMetadataFile> instance(
new DirInstanceMetadataFile(env_, std::move(backup_uuid),
opts_.dir_type,
diff --git a/src/kudu/tools/ksck_checksum.h b/src/kudu/tools/ksck_checksum.h
index 47b094704..56c5a1166 100644
--- a/src/kudu/tools/ksck_checksum.h
+++ b/src/kudu/tools/ksck_checksum.h
@@ -164,7 +164,7 @@ class KsckChecksumManager : public
std::enable_shared_from_this<KsckChecksumMana
};
// Blocks until the number of replica results and errors reported equals
- // the number of replicas that need to be processed, until the this instnce's
+ // the number of replicas that need to be processed, until the this
instance's
// timeout expires, or until the checksum process makes no progress for
longer
// than this instance's idle timeout, whichever comes first. Progress
messages
// are printed to 'out' if it is non-null.
diff --git a/src/kudu/util/minidump.h b/src/kudu/util/minidump.h
index beaaa3478..d54f3c3c1 100644
--- a/src/kudu/util/minidump.h
+++ b/src/kudu/util/minidump.h
@@ -77,7 +77,7 @@ class MinidumpExceptionHandler {
void StopUserSignalHandlerThread();
void RunUserSignalHandlerThread();
- // The number of instnaces of this class that are currently in existence.
+ // The number of instances of this class that are currently in existence.
// We keep this counter in order to force a crash if more than one is running
// at a time, as a sanity check.
static std::atomic<size_t> current_num_instances_;