-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We only calculate options of repositories that have changed since our last check. However, if we are informed of a new repository and the repository hasn't changed, we will never fetch its options. This can happen if our cluster grows or shrinks. This commit expands the interface to have a "force" option to fetch options. I don't like this design, and will address it in follow-up commits. However, for now I'd like to fix the bug. I think the reason this is becoming complicated is the state stored by "IterateIndexOptions" around search configuration fingerprint. I think a better solution is to add an API call to calculate a new fingerprint and then make the setting/updating of the fingerprint more explicit.
- Loading branch information
1 parent
8ea6c20
commit 3c5cea3
Showing
4 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters