forked from apache/doris
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improve](cloud) support caching SchemaCloudDictionary in BE side
/* * SchemaCloudDictionaryCache provides a local cache for SchemaCloudDictionary. * * Caching logic: * - If the dictionary associated with a given key has not had any new columns added * (determined by comparing the serialized data for consistency), * the cached dictionary is directly used to update the dictionary list in the rowset meta * (similar to the process_dictionary logic in write_schema_dict). * - If new columns have been detected, the local cache is disregarded, and the updated * dictionary should be fetched via the meta service. */ use SchemaCloudDictionaryCache in Backend to reduce the frequency of reading and converting SchemaCloudDictionary in MetaService
- Loading branch information
Showing
16 changed files
with
683 additions
and
12 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
Oops, something went wrong.