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:
Christian Schwarz
2024-04-03 16:14:59 +00:00
parent 0be19f4a6d
commit bbe9c52357

View File

@@ -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();