Skip to content

[Backport] Fix UI datasources view edit action compaction #10459#10465

Merged
ccaominh merged 2 commits intoapache:0.20.0from
ccaominh:0.20.0-fix-ui-datasources-view-action-compaction-config
Oct 2, 2020
Merged

[Backport] Fix UI datasources view edit action compaction #10459#10465
ccaominh merged 2 commits intoapache:0.20.0from
ccaominh:0.20.0-fix-ui-datasources-view-action-compaction-config

Conversation

@ccaominh
Copy link
Copy Markdown
Contributor

@ccaominh ccaominh commented Oct 2, 2020

Backport #10459 and #10453 to 0.20.0.

Add an E2E test for the web console workflow of reindexing a Druid
datasource to change the secondary partitioning type.  The new test
changes dynamic to single dim partitions since the autocompaction test
already does dynamic to hashed partitions.

Also, run the web console E2E tests in parallel to reduce CI time and
change naming convention for test datasources to make it easier to map
them to the corresponding test run.

Main changes:

1) web-consolee2e-tests/reindexing.spec.ts
   - new E2E test

2) web-console/e2e-tests/component/load-data/data-connector/reindex.ts
   - new data loader connector for druid input source

3) web-console/e2e-tests/component/load-data/config/partition.ts
   - move partition spec definitions from compaction.ts
   - add new single dim partition spec definition
Restore the web console's ability to view a datasource's compaction
configuration via the "action" menu. Refactoring done in
apache#10438 introduced a regression that
always caused the default compaction configuration to be shown via the
"action" menu instead.

Regression test is added in e2e-tests/auto-compaction.spec.ts.
@ccaominh ccaominh added this to the 0.20.0 milestone Oct 2, 2020
Copy link
Copy Markdown
Contributor

@suneet-s suneet-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a clean backport 👍

@ccaominh
Copy link
Copy Markdown
Contributor Author

ccaominh commented Oct 2, 2020

Looks like a clean backport 👍

Yeah, backport is clean.

@ccaominh ccaominh merged commit bb2e210 into apache:0.20.0 Oct 2, 2020
@ccaominh ccaominh deleted the 0.20.0-fix-ui-datasources-view-action-compaction-config branch October 4, 2020 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants