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

Resolves #1706 BGSAVE takes write lock before forking, inorder to prevent synchroniz… #1709

Merged
merged 2 commits into from May 19, 2021

Conversation

OfirMos
Copy link
Member

@OfirMos OfirMos commented May 18, 2021

…ation or other modification to the graphs while forking.

…ation or other modification to the graphs while forking.
@swilly22 swilly22 merged commit 2aa604f into master May 19, 2021
@swilly22 swilly22 deleted the bgsave_fix branch May 19, 2021 06:08
@swilly22 swilly22 changed the title BGSAVE takes write lock before forking, inorder to prevent synchroniz… Resolves #1706 BGSAVE takes write lock before forking, inorder to prevent synchroniz… May 19, 2021
jeffreylovitz pushed a commit that referenced this pull request May 25, 2021
…ation or other modification to the graphs while forking. (#1709)

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
(cherry picked from commit 2aa604f)
swilly22 added a commit that referenced this pull request May 25, 2021
* Reword error message on setting property value to invalid type (#1691)

(cherry picked from commit 7c4ec16)

* fixing terraform-version for tests (#1700)

(cherry picked from commit d597e04)

* compute distinct hash only on projected values (#1703)

* compute distinct hash only on projected values

* test coverage

* avoid multiple calls to Record_GetMappings

(cherry picked from commit b363415)

* Fix regression in GRAPH.CONFIG GET * (#1708)

(cherry picked from commit ea2e6b2)

* BGSAVE takes write lock before forking, inorder to prevent synchronization or other modification to the graphs while forking. (#1709)

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
(cherry picked from commit 2aa604f)

* set graph sync policy to resize only (#1702)

* set graph sync policy to resize only

* reset graph sync policy once batch is processed

(cherry picked from commit af52040)

* ignore bound node when constructing a scan op for it (#1714)

(cherry picked from commit 45403aa)

* early returns migrated to one place (#1699)

* early returns migrated to one place

* moving the early_returns

(cherry picked from commit 7251258)

* check for existance of pdata before freeing func desc (#1715)

(cherry picked from commit 972e990)

* Fix getterraform script. Updated benchmark dev docs, specs and triggering. (#1693)

* [fix] Fix getterraform script. Updated benchmark dev docs, specs and triggering.

* [add] .circleci on-integ-and-version-tags matches same rules as other modules

* [add] .circleci on-integ-and-version-tags matches same rules as other modules

* [fix] Fixed merge conflict on requirements

* [add] enforcing --required-module graph

* [fix] added missing --setup-prerequisits to ci perf automation [add] locally enforcing --required-module graph

* [fix] Fixed typo on benchmark/requirements.txt

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
(cherry picked from commit 0cb693a)

* flush matrix only if dirty (#1716)

* flush matrix only if dirty

* simplified dirty marking

(cherry picked from commit 7742afd)

* Should take lock before fork only on BGSAVE flow and not RedisSearch GC. (#1712)

* Should take lock before fork only on BGSAVE flow and not RedisSearch GC.

* Added BGSAVE test.

* Added check for bgsave status, and update query to create index.

* Taking read lock before lock instead of write lock.

* exclude bgsave test when running with valgrind.

* perform all CRUD operation when stressing BGSAVE

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: swilly22 <roi@redislabs.com>
(cherry picked from commit d279f3d)

* Update tests-qa-run to support Opereto3 (#1719)

* Update tests-qa-run to support Opereto3

* Update run - adding OPERETO3_URL as var

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
(cherry picked from commit f26b9e3)

* replicate graph.config set (#1720)

(cherry picked from commit de0709e)

* bump version to 2.4.5

Co-authored-by: Chayim <chayim@users.noreply.github.com>
Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: OfirMos <82366525+OfirMos@users.noreply.github.com>
Co-authored-by: filipe oliveira <filipecosta.90@gmail.com>
Co-authored-by: tomerhekredis <72793005+tomerhekredis@users.noreply.github.com>
jeffreylovitz pushed a commit that referenced this pull request May 25, 2021
…ation or other modification to the graphs while forking. (#1709)

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
(cherry picked from commit 2aa604f)
swilly22 added a commit that referenced this pull request May 28, 2021
* compute distinct hash only on projected values (#1703)

* compute distinct hash only on projected values

* test coverage

* avoid multiple calls to Record_GetMappings

(cherry picked from commit b363415)

* BGSAVE takes write lock before forking, inorder to prevent synchronization or other modification to the graphs while forking. (#1709)

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
(cherry picked from commit 2aa604f)

* Should take lock before fork only on BGSAVE flow and not RedisSearch GC. (#1712)

* Should take lock before fork only on BGSAVE flow and not RedisSearch GC.

* Added BGSAVE test.

* Added check for bgsave status, and update query to create index.

* Taking read lock before lock instead of write lock.

* exclude bgsave test when running with valgrind.

* perform all CRUD operation when stressing BGSAVE

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: swilly22 <roi@redislabs.com>
(cherry picked from commit d279f3d)

* ignore bound node when constructing a scan op for it (#1714)

(cherry picked from commit 45403aa)

* bump version to 2.2.17

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
Co-authored-by: OfirMos <82366525+OfirMos@users.noreply.github.com>
pnxguide pushed a commit to CMU-SPEED/RedisGraph that referenced this pull request Mar 22, 2023
…ation or other modification to the graphs while forking. (RedisGraph#1709)

Co-authored-by: Roi Lipman <swilly22@users.noreply.github.com>
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.

None yet

2 participants