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

feat: run tx-schedule inline if the dest shard is on the same thread #908

Merged
merged 2 commits into from
Mar 6, 2023

Conversation

romange
Copy link
Collaborator

@romange romange commented Mar 5, 2023

The optimization is applied within ScheduleSingleHop call.

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
dranikpg
dranikpg previously approved these changes Mar 5, 2023
Signed-off-by: Roman Gershman <roman@dragonflydb.io>
@romange romange force-pushed the InlineScheduleSingle branch from 2dc7847 to 099cdb0 Compare March 6, 2023 14:27
@romange romange merged commit 5f92f84 into main Mar 6, 2023
@romange romange deleted the InlineScheduleSingle branch March 6, 2023 14:52
Pothulapati pushed a commit that referenced this pull request Mar 8, 2023
…908)

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
royjacobson pushed a commit that referenced this pull request Apr 24, 2023
…908)

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
royjacobson pushed a commit that referenced this pull request Apr 24, 2023
…908)

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
royjacobson pushed a commit that referenced this pull request May 10, 2023
…908)

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
royjacobson added a commit that referenced this pull request May 21, 2023
* feat: run tx-schedule inline if the dest shard is on the same thread (#908)

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

* fix(server): Don't inline schedule when in LOADING

* Fix the another pre-emption bug with inline scheduling

* Better locking around journal callbacks

---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
romange added a commit that referenced this pull request Jun 1, 2023
* feat: run tx-schedule inline if the dest shard is on the same thread (#908)

The optimization is applied within ScheduleSingleHop call.

Signed-off-by: Roman Gershman <roman@dragonflydb.io>

* fix(server): Don't inline schedule when in LOADING

* Fix the another pre-emption bug with inline scheduling

* Better locking around journal callbacks

---------

Signed-off-by: Roman Gershman <roman@dragonflydb.io>
Co-authored-by: Roman Gershman <roman@dragonflydb.io>
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.

2 participants