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
The current implementation of xTruncate for IndexedDB pre-dates the addition of caching. In addition to updating the size in metadata, it deletes IndexedDB block objects past the EOF. If dirty blocks past EOF are in the cache, they will be written again on xSync.
The proper fix here is probably:
In xTruncate:
Update size in metadata (as before).
Remove blocks past EOF from the cache, not from IndexedDB.
In xSync:
After flushing the cache, delete IndexedDB block objects past EOF.
The text was updated successfully, but these errors were encountered:
The current implementation of
xTruncate
for IndexedDB pre-dates the addition of caching. In addition to updating the size in metadata, it deletes IndexedDB block objects past the EOF. If dirty blocks past EOF are in the cache, they will be written again onxSync
.The proper fix here is probably:
xTruncate
:xSync
:The text was updated successfully, but these errors were encountered: