Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] Handle missing database file ids for file paths #3508

Merged
merged 1 commit into from
Nov 18, 2021

Conversation

csordasmarton
Copy link
Contributor

No description provided.

@csordasmarton csordasmarton added this to the release 6.18.1 milestone Nov 18, 2021
@csordasmarton csordasmarton force-pushed the handle_missing_file_id branch 2 times, most recently from 58b3bda to fab98d9 Compare November 18, 2021 09:19

return self.__files

@property
def trimmed_files(self) -> Set[str]:
Copy link
Contributor

Choose a reason for hiding this comment

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

It is a little misleading, because this function doesn't return trimmed file paths necessarily, unless we call trim() earlier. This strange behavior also applies to File class too. Do we need to store trimmed file paths separately for some performance reasons? Couldn't we store the original paths and trim them in this function instead?

@bruntib bruntib merged commit 20ad393 into Ericsson:master Nov 18, 2021
@csordasmarton csordasmarton deleted the handle_missing_file_id branch January 28, 2022 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants