You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 091e9fa
Browse filesBrowse the repository at this point in the historyBrowse files
Read the cached file length without the page-cache lock
The committed file length was read under the page cache's lock, which
every cache hit already takes and every connection on the file shares.
PageCount reads it on each range check - once per row an index seek
fetches - so it added a lock acquisition to the hottest read path. It
is a single value, so it is now read and written atomically without
the lock.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments