dynamoid

https://github.com/veraticus/dynamoid

Ruby ORM for Amazon's DynamoDB

Gitlab::Git::Storage::ForkedStorageCheck#check_filesystem_in_process

This will spawn a new 2 processes to do the check:
The outer child (waiter) will spawn another child process (stater).

The stater is the process is performing the actual filesystem check
the check might hang if the filesystem is acting up.
In this case we will send a `KILL` to the waiter, which will still
be responsive while the stater is hanging.

Source | Google | Stack overflow

Edit

git clone [email protected]:veraticus/dynamoid.git

cd dynamoid

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Gitlab--Git--Storage--ForkedStorageCheck-check_filesystem_in_process-for-pr


# Commit to git

git add git commit -m "better docs for Gitlab::Git::Storage::ForkedStorageCheck#check_filesystem_in_process"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Gitlab--Git--Storage--ForkedStorageCheck-check_filesystem_in_process-for-pr

hub pull-request


# Celebrate!