Merge pull request #3229 from neondatabase/dkr/add-pageserver-for-release

add pageserver to new region see https://github.com/neondatabase/aws/pull/116

decrease log volume for pageserver
This commit is contained in:
Dmitry Rodionov
2022-12-30 12:34:04 +03:00
committed by GitHub
3 changed files with 7 additions and 5 deletions
@@ -25,6 +25,8 @@ storage:
ansible_host: i-0d9f6dfae0e1c780d
pageserver-1.us-west-2.aws.neon.tech:
ansible_host: i-0c834be1dddba8b3f
pageserver-2.us-west-2.aws.neon.tech:
ansible_host: i-051642d372c0a4f32
safekeepers:
hosts:
+3 -3
View File
@@ -203,7 +203,7 @@ use std::sync::{Arc, Mutex};
use anyhow::ensure;
use remote_storage::{DownloadError, GenericRemoteStorage};
use tokio::runtime::Runtime;
use tracing::{info, warn};
use tracing::{debug, info, warn};
use tracing::{info_span, Instrument};
use utils::lsn::Lsn;
@@ -747,7 +747,7 @@ impl RemoteTimelineClient {
// We can launch this task. Remove it from the queue first.
let next_op = upload_queue.queued_operations.pop_front().unwrap();
info!("starting op: {}", next_op);
debug!("starting op: {}", next_op);
// Update the counters
match next_op {
@@ -930,7 +930,7 @@ impl RemoteTimelineClient {
task.op, retries
);
} else {
info!("remote task {} completed successfully", task.op);
debug!("remote task {} completed successfully", task.op);
}
// The task has completed succesfully. Remove it from the in-progress list.
+2 -2
View File
@@ -2288,7 +2288,7 @@ impl Timeline {
// See storage_sync module level comment on consistency.
// Do it here because we don't want to hold self.layers.write() while waiting.
if let Some(remote_client) = &self.remote_client {
info!("waiting for upload ops to complete");
debug!("waiting for upload ops to complete");
remote_client
.wait_completion()
.await
@@ -2499,7 +2499,7 @@ impl Timeline {
// See storage_sync module level comment on consistency.
// Do it here because we don't want to hold self.layers.write() while waiting.
if let Some(remote_client) = &self.remote_client {
info!("waiting for upload ops to complete");
debug!("waiting for upload ops to complete");
remote_client
.wait_completion()
.await