Remove --no-incremental-snapshot-fetch CLI arg (#21172)

Now that bootstrap with incremental snapshots enabled has a fallback
mechanism in place, this no-incremental-snapshot-fetch flag is no longer
required.

Fixes #21127
This commit is contained in:
Brooks Prumo
2021-11-04 11:54:25 -05:00
committed by GitHub
parent 171243a370
commit 7495cbd1c8

View File

@ -608,13 +608,6 @@ pub fn main() {
.help("Do not attempt to fetch a snapshot from the cluster, \ .help("Do not attempt to fetch a snapshot from the cluster, \
start from a local snapshot if present"), start from a local snapshot if present"),
) )
.arg(
Arg::with_name("no_incremental_snapshot_fetch")
.long("no-incremental-snapshot-fetch")
.takes_value(false)
.help("Do not attempt to fetch incremental snapshots from the cluster, only fetch \
full snapshots"),
)
.arg( .arg(
Arg::with_name("no_genesis_fetch") Arg::with_name("no_genesis_fetch")
.long("no-genesis-fetch") .long("no-genesis-fetch")
@ -1931,8 +1924,7 @@ pub fn main() {
"max_genesis_archive_unpacked_size", "max_genesis_archive_unpacked_size",
u64 u64
), ),
incremental_snapshot_fetch: matches.is_present("incremental_snapshots") incremental_snapshot_fetch: matches.is_present("incremental_snapshots"),
&& !matches.is_present("no_incremental_snapshot_fetch"),
}; };
let private_rpc = matches.is_present("private_rpc"); let private_rpc = matches.is_present("private_rpc");