[typo] Fix typos in comments (#10142)

This commit is contained in:
yinzhijian
2022-06-16 10:13:59 +08:00
committed by GitHub
parent 9217223cc5
commit bc431f2806
2 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ Status SnapshotLoader::upload(const std::map<std::string, std::string>& src_to_d
/*
* Download snapshot files from remote.
* After downloaded, the local dir should contains all files existing in remote,
* may also contains severval useless files.
* may also contains several useless files.
*/
Status SnapshotLoader::download(const std::map<std::string, std::string>& src_to_dest_path,
std::vector<int64_t>* downloaded_tablet_ids) {

View File

@ -91,7 +91,7 @@ class TUniqueId;
extern bthread_key_t btls_key;
// The thread context saves some info about a working thread.
// 2 requried info:
// 2 required info:
// 1. thread_id: Current thread id, Auto generated.
// 2. type: The type is a enum value indicating which type of task current thread is running.
// For example: QUERY, LOAD, COMPACTION, ...