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

Remove multi-threaded server mode #211

Merged
merged 1 commit into from
Sep 2, 2022
Merged

Remove multi-threaded server mode #211

merged 1 commit into from
Sep 2, 2022

Conversation

navytux
Copy link
Contributor

@navytux navytux commented Sep 1, 2022

Since 2016 this mode was opt-in for a long time with the default being
single-threaded asyncio-based server implementation. We believe nobody
actually used multi-threaded ZEO5 server mode for real at all.

Multi-threaded server mode was deprecated this spring
(#190), and later found to
have concurrency bug that lead to data corruption
(#209).

Given deprecation status, instead of fixing those bugs let's finally
remove the multi-threaded server mode.

Since 2016 this mode was opt-in for a long time with the default being
single-threaded asyncio-based server implementation. We believe nobody
actually used multi-threaded ZEO5 server mode for real at all.

Multi-threaded server mode was deprecated this spring
(#190), and later found to
have concurrency bug that lead to data corruption
(#209).

Given deprecation status, instead of fixing those bugs let's finally
remove the multi-threaded server mode.
@navytux
Copy link
Contributor Author

navytux commented Sep 1, 2022

/cc @d-maurer

@coveralls
Copy link

Pull Request Test Coverage Report for Build 2973579663

  • 2 of 3 (66.67%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.5%) to 54.301%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/ZEO/StorageServer.py 2 3 66.67%
Totals Coverage Status
Change from base Build 2779997952: 0.5%
Covered Lines: 6889
Relevant Lines: 12008

💛 - Coveralls

@navytux
Copy link
Contributor Author

navytux commented Sep 2, 2022

@dataflake, thanks for the approval.

@navytux navytux merged commit 981ddc1 into master Sep 2, 2022
@navytux navytux deleted the y/mtacceptor-goodbye branch September 2, 2022 10:21
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.

3 participants