mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-11-03 16:41:26 +01:00
perf(core): index queued ops by kind and name (schema 43)
The name checks the drain makes before each create, rename and trash, and the wake of ops waiting for a name, read the whole queue, which made a large offline batch quadratic to drain. Schema 43 adds an index on pending_op(kind, name) (B238).
This commit is contained in:
1 parent
fcbb15cb4b
commit
937a0a6824
4 files changed
+73
-2
No files matched your search
+2
-1
@@ -11,7 +11,8 @@ scratch (user data in `staging/` and `recovery/` is never touched by this).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
Schema: **42**, unchanged.
|
||||
Schema: **43**. Queued changes get an index by kind and name. Nothing is rewritten, and the
|
||||
upgrade takes a moment.
|
||||
|
||||
### Fixed
|
||||
- **A folder deleted on another device took files with it that had never reached Drive.** A new
|
||||
|
||||
Reference in new issue
Block a user