Skip to content

Make external Exchange SPI as experimental.#13818

Merged
losipiuk merged 2 commits intotrinodb:masterfrom
losipiuk:lo/exchange-spi-experimental
Aug 26, 2022
Merged

Make external Exchange SPI as experimental.#13818
losipiuk merged 2 commits intotrinodb:masterfrom
losipiuk:lo/exchange-spi-experimental

Conversation

@losipiuk
Copy link
Copy Markdown
Member

External exchange SPI is still under active development.
Marking as experimenta to capture the current state.

No RN/Docs

@cla-bot cla-bot bot added the cla-signed label Aug 24, 2022
@losipiuk losipiuk requested review from arhimondr and findepi August 24, 2022 08:40
@losipiuk losipiuk force-pushed the lo/exchange-spi-experimental branch from 0525dd6 to 291dd2c Compare August 24, 2022 09:02
@losipiuk
Copy link
Copy Markdown
Member Author

@findepi it now complains that all Exchange SPI is missing, as we had it non-experimental in previous verison and it is experimental now (hence we filter it out). Any idea how should we handle that? I think adding everything to exception list is not the way to go ...

@findepi
Copy link
Copy Markdown
Member

findepi commented Aug 24, 2022

in TestSpiBackwardCompatibility the isExperimental should be done on previous version only, not the current.

@findepi
Copy link
Copy Markdown
Member

findepi commented Aug 24, 2022

See also #13805

Change logic in TestSpiBackwardCompatibility so it allows for
tagging existing SPI wiht @experimental annotation.
External exchange SPI is still under active development.
Marking as experimenta to capture the current state.
@losipiuk losipiuk force-pushed the lo/exchange-spi-experimental branch from 291dd2c to 0ee30c2 Compare August 25, 2022 07:46
@losipiuk
Copy link
Copy Markdown
Member Author

in TestSpiBackwardCompatibility the isExperimental should be done on previous version only, not the current.

@findepi PTAL


// TODO remove this after Experimental is released
private static boolean isOriginalPtfClass(Class<?> clazz, boolean includeDeprecated)
private static boolean isOriginalPtfClass(Class<?> clazz, boolean includeDeprecatedAndExperimental)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like this method can be removed.

@losipiuk losipiuk merged commit e98fb90 into trinodb:master Aug 26, 2022
@github-actions github-actions bot added this to the 394 milestone Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants