-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix some typos in comments and docs. #3568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forward the internal lint warnings to comments. Compared to so many typos fixed, these are minor issues. I'm going to merge it. We can fix those 80-char violations in a separate PR.
@@ -214,7 +214,7 @@ struct BlockBasedTableOptions { | |||
// encode compressed blocks with LZ4, BZip2 and Zlib compression. If you | |||
// don't plan to run RocksDB before version 3.10, you should probably use | |||
// this. | |||
// This option only affects newly written tables. When reading exising tables, | |||
// This option only affects newly written tables. When reading existing tables, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Our internal CI warned that this line exceeds 80 characters.
@@ -319,7 +319,7 @@ struct PlainTableOptions { | |||
}; | |||
|
|||
// -- Plain Table with prefix-only seek | |||
// For this factory, you need to set Options.prefix_extrator properly to make it | |||
// For this factory, you need to set Options.prefix_extractor properly to make it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another warning about this line exceeds 80-char.
@@ -67,7 +67,7 @@ class SstFileWriter { | |||
// be ingested into this column_family, note that passing nullptr means that | |||
// the column_family is unknown. | |||
// If invalidate_page_cache is set to true, SstFileWriter will give the OS a | |||
// hint that this file pages is not needed everytime we write 1MB to the file. | |||
// hint that this file pages is not needed every time we write 1MB to the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line exceeds 80 char.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@siying is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
No description provided.