nedb-engine-client 3.0.0__tar.gz → 3.2.0__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nedb-engine-client
3
- Version: 3.0.0
3
+ Version: 3.2.0
4
4
  Summary: Async Python client for nedbd — the nedb-engine server daemon
5
5
  Author: Eth-Interchained
6
6
  License: MIT
@@ -37,11 +37,20 @@ Connect to any running `nedbd` instance — local or remote — with a clean asy
37
37
 
38
38
  ---
39
39
 
40
- ## ⚠️ Upgrade your server to nedbd 2.8.6
40
+ ## ⚠️ Upgrade your server to nedbd 3.2.0
41
41
 
42
- This client talks to `nedbd`, so its durability comes from the server. **2.8.6 fixes three defects in
43
- 2.8.5 and earlier** — a flush that hit a full disk silently discarded acknowledged writes, flush
44
- failures were unobservable, and `nedb-cli repair` could not actually rebuild a damaged id index.
42
+ This client talks to `nedbd`, so its durability comes from the server. **Upgrade if you are on
43
+ anything earlier than 3.2.0.**
44
+
45
+ **3.2.0 — the embedded engine was pinning its own data directory.** The background flush ticker held
46
+ a strong reference to the database in a loop that never exited, so the handle was never dropped: the
47
+ exclusive data-dir `LOCK` was never released, reopening the same path in the same process failed with
48
+ "locked by another process" naming your *own* pid, and every open leaked a thread and the whole
49
+ database for the life of the process. Live in **2.8.5 through 3.1.0**.
50
+
51
+ **2.8.6 fixed three defects in 2.8.5 and earlier** — a flush that hit a full disk silently discarded
52
+ acknowledged writes, flush failures were unobservable, and `nedb-cli repair` could not actually
53
+ rebuild a damaged id index.
45
54
 
46
55
  If a database ever returned rows and now returns none while `/verify` reports every object healthy,
47
56
  that is the lost-id-index symptom and it is recoverable:
@@ -126,7 +135,7 @@ NEDBD_DAG=1 NEDBD_CAST=1 nedbd --data ./data
126
135
 
127
136
  # Check health
128
137
  curl http://127.0.0.1:7070/health
129
- # {"ok":true,"version":"2.8.0","service":"nedbd","encrypted":true}
138
+ # {"ok":true,"version":"3.2.0","service":"nedbd","encrypted":true}
130
139
  ```
131
140
 
132
141
  ---
@@ -12,11 +12,20 @@ Connect to any running `nedbd` instance — local or remote — with a clean asy
12
12
 
13
13
  ---
14
14
 
15
- ## ⚠️ Upgrade your server to nedbd 2.8.6
15
+ ## ⚠️ Upgrade your server to nedbd 3.2.0
16
16
 
17
- This client talks to `nedbd`, so its durability comes from the server. **2.8.6 fixes three defects in
18
- 2.8.5 and earlier** — a flush that hit a full disk silently discarded acknowledged writes, flush
19
- failures were unobservable, and `nedb-cli repair` could not actually rebuild a damaged id index.
17
+ This client talks to `nedbd`, so its durability comes from the server. **Upgrade if you are on
18
+ anything earlier than 3.2.0.**
19
+
20
+ **3.2.0 — the embedded engine was pinning its own data directory.** The background flush ticker held
21
+ a strong reference to the database in a loop that never exited, so the handle was never dropped: the
22
+ exclusive data-dir `LOCK` was never released, reopening the same path in the same process failed with
23
+ "locked by another process" naming your *own* pid, and every open leaked a thread and the whole
24
+ database for the life of the process. Live in **2.8.5 through 3.1.0**.
25
+
26
+ **2.8.6 fixed three defects in 2.8.5 and earlier** — a flush that hit a full disk silently discarded
27
+ acknowledged writes, flush failures were unobservable, and `nedb-cli repair` could not actually
28
+ rebuild a damaged id index.
20
29
 
21
30
  If a database ever returned rows and now returns none while `/verify` reports every object healthy,
22
31
  that is the lost-id-index symptom and it is recoverable:
@@ -101,7 +110,7 @@ NEDBD_DAG=1 NEDBD_CAST=1 nedbd --data ./data
101
110
 
102
111
  # Check health
103
112
  curl http://127.0.0.1:7070/health
104
- # {"ok":true,"version":"2.8.0","service":"nedbd","encrypted":true}
113
+ # {"ok":true,"version":"3.2.0","service":"nedbd","encrypted":true}
105
114
  ```
106
115
 
107
116
  ---
@@ -12,5 +12,5 @@ Usage:
12
12
 
13
13
  from .client import NedbClient, NedbError
14
14
 
15
- __version__ = "3.0.0"
15
+ __version__ = "3.2.0"
16
16
  __all__ = ["NedbClient", "NedbError"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nedb-engine-client
3
- Version: 3.0.0
3
+ Version: 3.2.0
4
4
  Summary: Async Python client for nedbd — the nedb-engine server daemon
5
5
  Author: Eth-Interchained
6
6
  License: MIT
@@ -37,11 +37,20 @@ Connect to any running `nedbd` instance — local or remote — with a clean asy
37
37
 
38
38
  ---
39
39
 
40
- ## ⚠️ Upgrade your server to nedbd 2.8.6
40
+ ## ⚠️ Upgrade your server to nedbd 3.2.0
41
41
 
42
- This client talks to `nedbd`, so its durability comes from the server. **2.8.6 fixes three defects in
43
- 2.8.5 and earlier** — a flush that hit a full disk silently discarded acknowledged writes, flush
44
- failures were unobservable, and `nedb-cli repair` could not actually rebuild a damaged id index.
42
+ This client talks to `nedbd`, so its durability comes from the server. **Upgrade if you are on
43
+ anything earlier than 3.2.0.**
44
+
45
+ **3.2.0 — the embedded engine was pinning its own data directory.** The background flush ticker held
46
+ a strong reference to the database in a loop that never exited, so the handle was never dropped: the
47
+ exclusive data-dir `LOCK` was never released, reopening the same path in the same process failed with
48
+ "locked by another process" naming your *own* pid, and every open leaked a thread and the whole
49
+ database for the life of the process. Live in **2.8.5 through 3.1.0**.
50
+
51
+ **2.8.6 fixed three defects in 2.8.5 and earlier** — a flush that hit a full disk silently discarded
52
+ acknowledged writes, flush failures were unobservable, and `nedb-cli repair` could not actually
53
+ rebuild a damaged id index.
45
54
 
46
55
  If a database ever returned rows and now returns none while `/verify` reports every object healthy,
47
56
  that is the lost-id-index symptom and it is recoverable:
@@ -126,7 +135,7 @@ NEDBD_DAG=1 NEDBD_CAST=1 nedbd --data ./data
126
135
 
127
136
  # Check health
128
137
  curl http://127.0.0.1:7070/health
129
- # {"ok":true,"version":"2.8.0","service":"nedbd","encrypted":true}
138
+ # {"ok":true,"version":"3.2.0","service":"nedbd","encrypted":true}
130
139
  ```
131
140
 
132
141
  ---
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "nedb-engine-client"
7
- version = "3.0.0"
7
+ version = "3.2.0"
8
8
  description = "Async Python client for nedbd — the nedb-engine server daemon"
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }