forked from pentaho/mondrian
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MONDRIAN-1998] Followup to the previous commits of this case. It was…
… later found that the problem isn't about whether we delete the index from the registry or not at the end of the life of a schema, but rather a cache miss. It is perfectly fine to base the key of the registry off the schema's checksum, as it is also preferable. When we bring a schema offline, we already clean all the finished segments and also use the deletion flag to do a graceful recovery for the segments that were still loading at the time. Deleting the index prevents this graceful shutdown and causes the user thread to hang, as we sometimes delete the index from the registry before all of the queries are terminated. By the time they finish, the star was re-created and doesn't have the same object ident anymore, so we can't notify the user threads that the query has finished.
- Loading branch information
1 parent
365debd
commit 378a968
Showing
3 changed files
with
65 additions
and
42 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