Skip to content

Remove duplicate exception class#12071

Merged
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/remove-duplicate-exception-class-48c32b
Apr 21, 2022
Merged

Remove duplicate exception class#12071
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/remove-duplicate-exception-class-48c32b

Conversation

@findepi
Copy link
Member

@findepi findepi commented Apr 21, 2022

The class has been copied to AbstractTrinoCatalog and so should have
been removed from TrinoHiveCatalog.

This may or may not fix a concurrency-related bug.
AbstractTrinoCatalog has some generic handling for
MaterializedViewMayBeBeingRemovedException, but since the HMS-related
subclass had a copy of the exception, the handling would not kick in.

@findepi findepi added maintenance Project maintenance task no-release-notes This pull request does not require release notes entry labels Apr 21, 2022
@findepi findepi requested review from alexjo2144 and hashhar April 21, 2022 07:16
@cla-bot cla-bot bot added the cla-signed label Apr 21, 2022
The class has been copied to `AbstractTrinoCatalog` and so should have
been removed from `TrinoHiveCatalog`.

This may or may not fix a concurrency-related bug.
`AbstractTrinoCatalog` has some generic handling for
`MaterializedViewMayBeBeingRemovedException`, but since the HMS-related
subclass had a copy of the exception, the handling would not kick in.
@findepi findepi force-pushed the findepi/remove-duplicate-exception-class-48c32b branch from 11c6667 to 79c317b Compare April 21, 2022 07:18
@findepi findepi merged commit c8965bc into trinodb:master Apr 21, 2022
@findepi findepi deleted the findepi/remove-duplicate-exception-class-48c32b branch April 21, 2022 09:42
@github-actions github-actions bot added this to the 378 milestone Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed maintenance Project maintenance task no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants