Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mcrouter/CarbonRouterInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class McrouterManager;
class ProxyThread;

/**
* Class to to read CPU metrics of the mcrouter proxy threads
* Class to read CPU metrics of the mcrouter proxy threads
* based on a FunctionScheduler
*/
class CpuStatsWorker {
Expand Down
4 changes: 2 additions & 2 deletions mcrouter/ConfigApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class ConfigApi : public ConfigApiIf {
* Save a piece of config source to disk.
*
* @param sourcePrefix Where this config comes from (e.g. file).
* @param name Name of this peice of config.
* @param name Name of this piece of config.
* NOTE: sourcePrefix + name should uniquely identify
* this config source.
* @param contents The actual config.
Expand All @@ -191,7 +191,7 @@ class ConfigApi : public ConfigApiIf {
* Reads the given config source from backup file.
*
* @param sourcePrefix Where this config comes from (e.g. file).
* @param name Name of this peice of config.
* @param name Name of this piece of config.
* @param contents Output parameter that will hold the content of the
* backup file
*
Expand Down
2 changes: 1 addition & 1 deletion mcrouter/lib/network/AsyncMcClientImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ void AsyncMcClientImpl::writeSuccess() noexcept {
} while (!last);

// It is possible that we're already processing error, but still have a
// successfull write.
// successful write.
if (connectionState_ == ConnectionState::Error) {
processShutdown("Connection was in ERROR state.");
}
Expand Down
2 changes: 1 addition & 1 deletion mcrouter/lib/network/McServerSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class McServerSession
* Creates a new session.
* Sessions manage their own lifetime.
* A session will self-destruct right after an onCloseFinish() callback
* call, by which point all of the following must have occured:
* call, by which point all of the following must have occurred:
* 1) All outstanding requests have been replied and pending
* writes have been completed/errored out.
* 2) The outgoing connection is closed, either via an explicit close()
Expand Down
2 changes: 1 addition & 1 deletion mcrouter/lib/network/SocketConnector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class ConnectHelper : public folly::AsyncSocket::ConnectCallback,
private:
// the async socket to connect
folly::AsyncSocket::UniquePtr socket_;
// promise we will fullfill
// promise we will fulfill
folly::Promise<folly::AsyncSocket::UniquePtr> promise_;
};

Expand Down
2 changes: 1 addition & 1 deletion mcrouter/mcrouter_options_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ MCROUTER_OPTION_INTEGER(
1000,
"file-observer-sleep-before-update-ms",
no_short,
"How long to sleep for after an update occured"
"How long to sleep for after an update occurred"
" (a hack to avoid partial writes).")

MCROUTER_OPTION_INTEGER(
Expand Down
2 changes: 1 addition & 1 deletion mcrouter/routes/StagingRoute.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namespace mcrouter {
* route.
*
* Expiration time (TTL) for objects from warm -> staging update requests is
* calculated based on the object's metadata retreived from warm route async.
* calculated based on the object's metadata retrieved from warm route async.
*/
class StagingRoute {
public:
Expand Down