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

Revert "fix races in in-memory cache system (#18243)" #18479

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

jsteemann
Copy link
Contributor

Scope & Purpose

This reverts commit ebb6b47.
This change had unintended side effects.
Reverting the commit may bring back assertion failures in the in-memory cache in maintainer mode during Jenkins test runs.

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

Related Information

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

@jsteemann jsteemann added this to the devel milestone Mar 28, 2023
@cla-bot cla-bot bot added the cla-signed label Mar 28, 2023
SpinUnlocker shutdownUnguard(SpinUnlocker::Mode::Write, _shutdownLock);

// sleep a bit without holding the locks
std::this_thread::sleep_for(std::chrono::microseconds(20));
Copy link
Contributor

@MBkkt MBkkt Mar 28, 2023

Choose a reason for hiding this comment

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

Btw. why did you change it in reverted commit?
Because additional lock?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reverted the entire previous commit.
The version before had known issues, but these were probably less severe than the issues introduced by the commit that is now reverted.

Copy link
Contributor

Choose a reason for hiding this comment

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

I understand but just curios why in reverted version you decide to increase sleep_for time

@jsteemann jsteemann merged commit adbbccc into devel Mar 28, 2023
@jsteemann jsteemann deleted the bug-fix/revert-cache-fix branch March 28, 2023 17:45
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