Skip to content

implemented simple gc of released loc entries in mongo collection#19

Open
marusicbostjan wants to merge 3 commits intosquare:masterfrom
marusicbostjan:feature/purge-gc
Open

implemented simple gc of released loc entries in mongo collection#19
marusicbostjan wants to merge 3 commits intosquare:masterfrom
marusicbostjan:feature/purge-gc

Conversation

@marusicbostjan
Copy link

@marusicbostjan marusicbostjan commented Oct 2, 2023

Removes entries in the mongo collection that belong to release locks.

The following query
selector := bson.M{ "exclusive.lockId": nil, "shared.count": 0, }
is used to select entries to remove.

See issue #17

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.

1 participant