Skip to content

Conversation

@reeteshranjan
Copy link

The 'fd' in do_import() was leaked. It caused an issue in a deployment where we were updating the data source every 15 minutes and tried to use the 'import' API to update the data source (without dumping the existing data).

The fix is to have a global 'if_fd' in place of the local 'fd' and close it before opening the file again in do_import.

Reetesh Ranjan and others added 3 commits July 11, 2015 00:57
The 'fd' in do_import() was leaked. It caused an issue in a deployment where we were updating the data source every 15 minutes and tried to use the 'import' API to update the data source (without dumping the existing data).

The fix is to have a global 'if_fd' in place of the local 'fd' and close it before opening the file again in do_import.
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