Skip to content

Commit

Permalink
Merge/index operation (#535)
Browse files Browse the repository at this point in the history
* Feature/common 2.5 (#519)

* feat: split to common change

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* Feature/index management 2.5 (#520)

* Feature/common 2.5 (#506)

* feat: split to common change

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* fix: detail of data stream

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* Temp/template management 2.5 (#523)

* Feature/common 2.5 (#506)

* feat: split to common change

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* feat: fix template error

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* Temp/alias management 2.5 (#524)

* Feature/common 2.5 (#506)

* feat: split to common change

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* Feature/unittest fix 2.5 (#525)

* Feature/common 2.5 (#506)

* feat: split to common change

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* Merge/index operation reindex (#526)

* Feature/common 2.5 (#506)

* feat: split to common change

Signed-off-by: suzhou <[email protected]>

* feat: update

Signed-off-by: suzhou <[email protected]>

Signed-off-by: suzhou <[email protected]>

* enable fullwidth for JSON editor (#479)

* enable fullwidth for JSON editor

Signed-off-by: Hailong Cui <[email protected]>

* update width of import settings & mappings

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: Hailong Cui <[email protected]>

* advanced settings

Signed-off-by: Hailong Cui <[email protected]>

* fix integration test

Signed-off-by: Hailong Cui <[email protected]>

* wording change

Signed-off-by: Hailong Cui <[email protected]>

* filter system index and alias from destination

Signed-off-by: Hailong Cui <[email protected]>

* fix code merge issue

Signed-off-by: Hailong Cui <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Co-authored-by: suzhou <[email protected]>

* Add split index operation

Signed-off-by: Xuesong Luo <[email protected]>

* Add split index operation

Signed-off-by: Xuesong Luo <[email protected]>

* Return if exception is thrown when calling backend API

Signed-off-by: Xuesong Luo <[email protected]>

* Remove replica props that's not taking effect.

Signed-off-by: Xuesong Luo <[email protected]>

Signed-off-by: suzhou <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Xuesong Luo <[email protected]>
Co-authored-by: suzhou <[email protected]>
Co-authored-by: Hailong-amzn <[email protected]>
  • Loading branch information
3 people committed Jan 6, 2023
1 parent 9613b85 commit e0c56df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ export default class SplitIndexForm extends Component<SplitIndexComponentProps>
"data-test-subj": "numberOfReplicasInput",
placeholder: "Specify number of replica",
min: 0,
value: 1,
},
},
},
Expand Down
5 changes: 2 additions & 3 deletions public/pages/SplitIndex/container/SplitIndex/SplitIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,9 @@ export class SplitIndex extends Component<SplitIndexProps> {
} catch (err) {
// no need to log anything since getIndexSettings will log the error
this.onCancel();
return;
}

if (!sourceIndex) {
this.onCancel();
}
this.setState({
sourceIndex,
});
Expand All @@ -87,6 +85,7 @@ export class SplitIndex extends Component<SplitIndexProps> {
} catch (err) {
// no need to log anything since getIndexSettings will log the error
this.onCancel();
return;
}
const reasons = [];
const sourceSettings = get(sourceIndexSettings, [sourceIndex.index, "settings"]);
Expand Down

0 comments on commit e0c56df

Please sign in to comment.