Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixing ordering of Peristent store init #38

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
Contributor

kitsonk commented Oct 14, 2012

There appears to be an issue when using Persistent store where if you pass a filename in the options, it will call initializeFile(filename) prior to creating the memory store. This is fine when the store does not exist, but when it does exist the store is not then available when store.setIndex() is called in initializeFile().

This pull request resolves that by creating the memory store prior to any point where the initializeFile() is called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment