@kedem/okdb 3.1.10 → 3.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ All notable changes to `@kedem/okdb` are documented here. Format loosely follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.0.0/); versions follow [SemVer](https://semver.org/).
|
|
5
5
|
Dates are release dates.
|
|
6
6
|
|
|
7
|
+
## [3.1.11] - 2026-11-06
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- **Upgrading a large 2.x store no longer takes hours.** The one-time 3.1 storage migration `per-env-blobs` counted each
|
|
12
|
+
stored file's references with a full scan of the env's file records (the field has no index) and committed per file: time
|
|
13
|
+
grew with the square of the file count. A store with 109,570 files was projected at ~7 h, during which the app could not
|
|
14
|
+
start. It now scans each env's file records once and writes the counts in batches: 20,000 files in ~6 s (3.1.10: 608 s).
|
|
15
|
+
- **An interrupted migration no longer blocks every retry in a restarted container.** The migration lock recorded only the
|
|
16
|
+
migrator's pid, and a waiter took over only if that pid was not running; in a new container the dead migrator's low pid
|
|
17
|
+
is routinely a live process of the new one, so each open waited out `MIGRATION_LOCK_TIMEOUT` (2 min) and failed. The lock
|
|
18
|
+
is now a `flock` on `<root>/.okdb-migration.lock`, which the kernel releases when its holder dies (any pid namespace;
|
|
19
|
+
containers sharing a volume on one host). A lock row left by 3.1.10 is taken over if its pid is not running, belongs to
|
|
20
|
+
a process that started after the row was written, or the row is older than a day.
|
|
21
|
+
|
|
7
22
|
## [3.1.10] - 2026-11-06
|
|
8
23
|
|
|
9
24
|
### Fixed
|
|
Binary file
|