forked from apache/incubator-pegasus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove personal comments in file header (apache#1696)
There is no functional changes in this patch, just remove the comments at the head of file, the comments look like: ``` /* * Description: * What is this file about? * * Revision history: * xxxx-xx-xx, author, first version * xxxx-xx-xx, author, fix bug about xxx */ ``` The description which are meaningful has been moved closer to the class declaration it describes. This patch also updates some links, for example, from `github.com/XiaoMi/pegasus/wiki` to `pegasus.apache.org`, `github.com/XiaoMi/pegasus/issues` to `github.com/apache/incubator-pegasus/issues`.
- Loading branch information
Showing
147 changed files
with
100 additions
and
1,152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,6 @@ | |
* THE SOFTWARE. | ||
*/ | ||
|
||
/* | ||
* Description: | ||
* fs_manager's implement: used to track the disk position for all the allocated replicas | ||
* | ||
* Revision history: | ||
* 2017-08-08: [email protected], first draft | ||
*/ | ||
|
||
#include "fs_manager.h" | ||
|
||
#include <algorithm> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,15 +24,6 @@ | |
* THE SOFTWARE. | ||
*/ | ||
|
||
/* | ||
* Description: | ||
* a simple version of distributed lock service for development | ||
* | ||
* Revision history: | ||
* 2015-11-04, @imzhenyu ([email protected]), first version | ||
* xxxx-xx-xx, author, fix bug about xxx | ||
*/ | ||
|
||
#include <chrono> | ||
|
||
#include "common/replication.codes.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,15 +24,6 @@ | |
* THE SOFTWARE. | ||
*/ | ||
|
||
/* | ||
* Description: | ||
* a simple version of distributed lock service for development | ||
* | ||
* Revision history: | ||
* 2015-11-04, @imzhenyu ([email protected]), first version | ||
* xxxx-xx-xx, author, fix bug about xxx | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <stdint.h> | ||
|
@@ -53,7 +44,9 @@ | |
|
||
namespace dsn { | ||
namespace dist { | ||
// Only for test purpose. | ||
|
||
// A simple version of distributed lock service. | ||
// NOTE: Only for test purpose. | ||
class distributed_lock_service_simple : public distributed_lock_service | ||
{ | ||
public: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,15 +24,6 @@ | |
* THE SOFTWARE. | ||
*/ | ||
|
||
/* | ||
* Description: | ||
* a simple version of meta state service for development | ||
* | ||
* Revision history: | ||
* 2015-11-03, @imzhenyu ([email protected]), setup the sketch | ||
* 2015-11-11, Tianyi WANG, first version done | ||
*/ | ||
|
||
#include <stddef.h> | ||
#include <stdint.h> | ||
#include <functional> | ||
|
@@ -66,7 +57,8 @@ DEFINE_TASK_CODE_AIO(LPC_META_STATE_SERVICE_SIMPLE_INTERNAL, | |
TASK_PRIORITY_HIGH, | ||
THREAD_POOL_DEFAULT); | ||
|
||
// Only for test purpose. | ||
// A simple version of meta state service. | ||
// NOTE: Only for test purpose. | ||
class meta_state_service_simple : public meta_state_service | ||
{ | ||
public: | ||
|
Oops, something went wrong.