mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-21 07:00:38 +00:00
disable initdb archive creation to discern its impact on spawn_blocking pool (perhaps we can just make it one big sync task)
This commit is contained in:
@@ -3186,10 +3186,10 @@ impl Tenant {
|
||||
run_initdb(self.conf, &pgdata_path, pg_version, &self.cancel).await?;
|
||||
|
||||
// Upload the created data dir to S3
|
||||
if self.tenant_shard_id().is_zero() {
|
||||
self.upload_initdb(&timelines_path, &pgdata_path, &timeline_id)
|
||||
.await?;
|
||||
}
|
||||
// if self.tenant_shard_id().is_zero() {
|
||||
// self.upload_initdb(&timelines_path, &pgdata_path, &timeline_id)
|
||||
// .await?;
|
||||
// }
|
||||
}
|
||||
let pgdata_lsn = import_datadir::get_lsn_from_controlfile(&pgdata_path)?.align();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user