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

Handle shutdown on grid adapters #5943

Merged
merged 4 commits into from
Aug 19, 2019

Conversation

davimacedo
Copy link
Member

The Grid Adapters are currently not handling the shutdown. It means that if someone start the Parse Server using the CLI, then create a file, then try to close the process, the process never finishes because the connections are not properly closed.

@codecov
Copy link

codecov bot commented Aug 19, 2019

Codecov Report

Merging #5943 into master will decrease coverage by <.01%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5943      +/-   ##
==========================================
- Coverage   93.68%   93.67%   -0.01%     
==========================================
  Files         156      156              
  Lines       10842    10850       +8     
==========================================
+ Hits        10157    10164       +7     
- Misses        685      686       +1
Impacted Files Coverage Δ
src/ParseServer.js 97.53% <100%> (ø) ⬆️
src/Adapters/Files/GridStoreAdapter.js 86.11% <80%> (-1.39%) ⬇️
src/Adapters/Files/GridFSBucketAdapter.js 97.67% <80%> (-2.33%) ⬇️
src/RestWrite.js 93.72% <0%> (+0.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f5ac94d...fe1ed99. Read the comment docs.

@dplewis dplewis merged commit c951e08 into parse-community:master Aug 19, 2019
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* Handle shutdown on grid adapters

* Add tests

* Fix postgres test
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