mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Snapshot and restore] Set file system repo compression to true by default (#221500)
Closes https://github.com/elastic/kibana/issues/210481 So far, file system was the only type of repository that had compression set to false by default. But according with the [ES docs ](https://www.elastic.co/docs/deploy-manage/tools/snapshot-and-restore/shared-file-system-repository) that default is true: ``` compress (Optional, Boolean) If true, metadata files, such as index mappings and settings, are compressed in snapshots. Data files are not compressed. Defaults to true. ``` So this PR sets the default to true for FS. https://github.com/user-attachments/assets/b14e24a9-0330-4cbf-863b-102030d70f92
This commit is contained in:
parent
12784c2ca5
commit
43328848f3
3 changed files with 2 additions and 3 deletions
|
@ -236,7 +236,7 @@ describe('<RepositoryAdd />', () => {
|
|||
type: fsRepository.type,
|
||||
settings: {
|
||||
location: fsRepository.settings.location,
|
||||
compress: true,
|
||||
compress: false,
|
||||
chunkSize: fsRepository.settings.chunkSize,
|
||||
maxSnapshotBytesPerSec: fsRepository.settings.maxSnapshotBytesPerSec,
|
||||
maxRestoreBytesPerSec: fsRepository.settings.maxRestoreBytesPerSec,
|
||||
|
|
|
@ -133,7 +133,7 @@ export const FSSettings: React.FunctionComponent<Props> = ({
|
|||
defaultMessage="Compress snapshots"
|
||||
/>
|
||||
}
|
||||
checked={!!compress}
|
||||
checked={!(compress === false)}
|
||||
onChange={(e) => {
|
||||
updateRepositorySettings({
|
||||
compress: e.target.checked,
|
||||
|
|
|
@ -249,7 +249,6 @@ export function SnapshotRestorePageProvider({ getService }: FtrProviderContext)
|
|||
},
|
||||
async createSourceOnlyRepositoryStepTwo(location: string) {
|
||||
await testSubjects.setValue('locationInput', location);
|
||||
await testSubjects.click('compressToggle');
|
||||
await testSubjects.click('submitButton');
|
||||
await retry.waitFor('repository list to be visible', async () => {
|
||||
return await testSubjects.isDisplayed('repositoryList');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue