Skip to content

[FEATURE] Atomically update GeoIP DB to prevent race conditions#22

Open
kszymukowicz wants to merge 1 commit intob13:masterfrom
kszymukowicz:atomically_update_db
Open

[FEATURE] Atomically update GeoIP DB to prevent race conditions#22
kszymukowicz wants to merge 1 commit intob13:masterfrom
kszymukowicz:atomically_update_db

Conversation

@kszymukowicz
Copy link

Extracts GeoIP DB to a temp dir, then atomically renames to the final location. This prevents read errors during the update process.

Solves #4

Extracts GeoIP DB to a temp dir, then atomically renames to the final location. This prevents read errors during the update process.
Copy link
Contributor

@achimfritz achimfritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 , thanks, i thinks it is a bugfix, can you change commit message?

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