-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: check table collection when resolving mutable descriptors
This change looks for table descriptors using the TableCollection's uncommitted tables before always going through the physical accessor when the lease manager's cache is avoided. This avoids the read which otherwise would have occurred when the uncached physical accessor gets the descriptor from the store. Release note (performance improvement): Accessing table descriptors when performing schema changes after the descriptor has been modified within the same transaction should be faster.
- Loading branch information
1 parent
5e5083d
commit 4f9cbf1
Showing
1 changed file
with
29 additions
and
22 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