Option | AZURE_STORAGE_PREFERRED_COPY_SOURCE | |
Introduced Version | 1.180.0 | |
Description | Sets how to download segments from bucket storage when prefetching | |
Default | false |
Sets the preferred transfer type for LogScale. Causes LogScale to try to fetch from local nodes if possible, and only fetch from bucket storage if there is no other option. This means you can now get LogScale to prefer one type of transfer.
With
false
,
local fetching will always be used unless the segment is only in
bucket storage, and segment prefetching will only download
segments that are not on another host.
With
true
local fetching will never be used unless the segment has not
been uploaded to bucket storage yet, and prefetching will fetch
as many segments as necessary to follow the configured
replication factor.
From version 1.190, if
true
,
node-to-node transfers in the cluster are disabled entirely. All
fetching between nodes will happen via bucket storage.
From version 1.190, if
false
,
node-to-node transfers in the cluster are enabled. Local
fetching will always be used unless the segment is only in
bucket storage, and segment prefetching will only download
segments that are not on another host.