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

Solve several issues found in stress tests #248

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ajoaoff
Copy link
Collaborator

@ajoaoff ajoaoff commented May 13, 2021

📑 Description of the Change

This PR fixes same issues found when creating/editing several EVCs at once.

  • Do not load archived EVCs in memory.
  • Use locks when loading EVCs
  • Fix an issue where several locks were created in storehouse.

💻 Verification Process

Unit tests passed.
One of the tests was modified to reflect archived EVCs not being loaded.

📄 Release Notes

Examples:

  • Archived EVCs not loaded on startup
  • Locks when loading EVCs

When iterating through a dictionary, get a tuple of keys
instead of a view, avoiding errors when the dictionary changes.
Archived EVCs cannot be used or changed, so there is
no need for them to be in memory.
When an EVC cannot be loaded, a message is logged as error instead of info.

Co-authored-by: Italo Valcy S Brito <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant