Skip to content

use sync.Mutex to replace channel for CompileService. - #18057

Merged
mergify[bot] merged 4 commits into
matrixorigin:mainfrom
m-schen:compile-lock
Aug 12, 2024
Merged

mergify[bot] merged 4 commits into
matrixorigin:mainfrom
m-schen:compile-lock

Conversation

@m-schen

@m-schen m-schen commented Aug 12, 2024

Copy link
Copy Markdown
Contributor

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #18053

What this PR does / why we need it:

重新使用sync.Mutex来控制CompileService,
使用channel对高并发的场景很不友好。

@matrix-meow matrix-meow added the size/S Denotes a PR that changes [10,99] lines label Aug 12, 2024
@mergify mergify Bot added the kind/bug Something isn't working label Aug 12, 2024
@mergify
mergify Bot merged commit 9bc518e into matrixorigin:main Aug 12, 2024
@m-schen
m-schen deleted the compile-lock branch August 19, 2024 09:56
fengttt pushed a commit to fengttt/matrixone that referenced this pull request May 7, 2026
…8057)

重新使用sync.Mutex来控制CompileService,
使用channel对高并发的场景很不友好。

Approved by: @badboynt1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working size/S Denotes a PR that changes [10,99] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants