Skip to content

Minor cleanups and improvements to FileSystemExchange#14806

Merged
losipiuk merged 3 commits intotrinodb:masterfrom
linzebing:spooling-cleanup
Oct 29, 2022
Merged

Minor cleanups and improvements to FileSystemExchange#14806
losipiuk merged 3 commits intotrinodb:masterfrom
linzebing:spooling-cleanup

Conversation

@linzebing
Copy link
Copy Markdown
Member

Description

Remove redundancy, change misleading config example and improve error surfacing on bootstrap.

Non-technical explanation

As above.

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

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.

what does it change really? Isn't exception caught up the stack anyway and handle same way?
We are throwing in line 52 and this one is no different, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks for pointing out, updating line 52 too.

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.

But still:
what does it change really?

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.

Actually yeah - that way we may collect more than one error.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I tested and just realized that it doesn't make much of a difference in terms of error surfacing. Added return under line 52. I'm fine both ways.

@losipiuk losipiuk merged commit e18462a into trinodb:master Oct 29, 2022
@github-actions github-actions bot added this to the 402 milestone Oct 29, 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