Fix misc typos

This commit is contained in:
Heikki Linnakangas
2022-05-28 14:30:59 +03:00
committed by Heikki Linnakangas
parent f1c51a1267
commit 4b4d3073b8
5 changed files with 6 additions and 6 deletions

View File

@@ -77,7 +77,7 @@ pub fn stop_etcd_process(env: &local_env::LocalEnv) -> anyhow::Result<()> {
let etcd_pid_file_path = etcd_pid_file_path(env);
let pid = Pid::from_raw(read_pidfile(&etcd_pid_file_path).with_context(|| {
format!(
"Failed to read etcd pid filea at {}",
"Failed to read etcd pid file at {}",
etcd_pid_file_path.display()
)
})?);

View File

@@ -115,7 +115,7 @@ Neon safekeeper LSNs. For more check [safekeeper/README_PROTO.md](/safekeeper/RE
* `CommitLSN`: position in WAL confirmed by quorum safekeepers.
* `RestartLSN`: position in WAL confirmed by all safekeepers.
* `FlushLSN`: part of WAL persisted to the disk by safekeeper.
* `VCL`: the largerst LSN for which we can guarantee availability of all prior records.
* `VCL`: the largest LSN for which we can guarantee availability of all prior records.
Neon pageserver LSNs:
* `last_record_lsn` - the end of last processed WAL record.

View File

@@ -498,8 +498,8 @@ where
return Ok(());
}
// It did not fit. Try to compress, and it it succeeds to make some room
// on the node, try appending to it again.
// It did not fit. Try to compress, and if it succeeds to make
// some room on the node, try appending to it again.
#[allow(clippy::collapsible_if)]
if last.compress() {
if last.push(key, value) {

View File

@@ -153,7 +153,7 @@ It is assumed that in case of losing local data by some safekeepers, it should b
* `NodeID`: pair (term,UUID)
* `Pager`: Neon component restoring pages from WAL stream
* `Replica`: read-only computatio node
* `VCL`: the largerst LSN for which we can guarantee availability of all prior records.
* `VCL`: the largest LSN for which we can guarantee availability of all prior records.
## Algorithm

View File

@@ -2139,7 +2139,7 @@ def remote_consistent_lsn(pageserver_http_client: ZenithPageserverHttpClient,
if detail['remote'] is None:
# No remote information at all. This happens right after creating
# a timeline, before any part of it it has been uploaded to remote
# a timeline, before any part of it has been uploaded to remote
# storage yet.
return 0
else: