moat-kv 0.71.9__py3-none-any.whl → 0.71.11__py3-none-any.whl
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.
- moat/kv/errors.py +4 -1
- moat/kv/server.py +9 -8
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/METADATA +1 -1
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/RECORD +10 -10
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/WHEEL +0 -0
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/licenses/LICENSE +0 -0
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/licenses/LICENSE.APACHE2 +0 -0
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/licenses/LICENSE.MIT +0 -0
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/licenses/LICENSE.txt +0 -0
- {moat_kv-0.71.9.dist-info → moat_kv-0.71.11.dist-info}/top_level.txt +0 -0
moat/kv/errors.py
CHANGED
@@ -551,8 +551,11 @@ class ErrorRoot(ClientRoot):
|
|
551
551
|
if rec is not entry:
|
552
552
|
return
|
553
553
|
|
554
|
+
path = entry.path
|
555
|
+
if isinstance(path,list):
|
556
|
+
path=Path.build(path)
|
554
557
|
with contextlib.suppress(KeyError):
|
555
|
-
del (self._done if entry.resolved else self._active)[entry.subsystem][
|
558
|
+
del (self._done if entry.resolved else self._active)[entry.subsystem][path]
|
556
559
|
|
557
560
|
def _push(self, entry):
|
558
561
|
if entry.subsystem is None or entry.path is None:
|
moat/kv/server.py
CHANGED
@@ -2153,14 +2153,15 @@ class Server:
|
|
2153
2153
|
if authoritative:
|
2154
2154
|
# … or not.
|
2155
2155
|
self._discard_all_missing()
|
2156
|
-
|
2157
|
-
|
2158
|
-
|
2159
|
-
|
2160
|
-
self.
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2156
|
+
if False:
|
2157
|
+
for nst in self._nodes.values():
|
2158
|
+
if nst.tick and len(nst.local_missing):
|
2159
|
+
self.fetch_missing.add(nst)
|
2160
|
+
if len(self.fetch_missing):
|
2161
|
+
self.fetch_running = False
|
2162
|
+
for nm in self.fetch_missing:
|
2163
|
+
self.logger.error("Sync: missing: %s %s", nm.name, nm.local_missing)
|
2164
|
+
await self.spawn(self.do_send_missing)
|
2164
2165
|
if self.force_startup or not len(self.fetch_missing):
|
2165
2166
|
if self.node.tick is None:
|
2166
2167
|
self.node.tick = 0
|
@@ -5,11 +5,11 @@ moat/kv/client.py,sha256=qxhhGtfxbcR0MN2dcQzcTga9UBAr9-zRRrMscqeTpVE,34207
|
|
5
5
|
moat/kv/code.py,sha256=QtXHx09Hh9mxSA8m0z1KAFUEDqR0gpTII5g8MlJ8mbI,6427
|
6
6
|
moat/kv/config.py,sha256=cWJ1m8PRwzzapsin1XSDjRtYJCgNN6g7gA9q48luDV8,1093
|
7
7
|
moat/kv/data.py,sha256=85N2W_pDVRgBn7l9AGdDZHvuHrIPGlbxzgXi_3S0DSI,5924
|
8
|
-
moat/kv/errors.py,sha256=
|
8
|
+
moat/kv/errors.py,sha256=VRfX-RY9AI8J5twDMmdKUJn84le88XBgM4x-sc-v8w4,17177
|
9
9
|
moat/kv/exceptions.py,sha256=4gRsYa6kuBy1qFYiBUYElup_cvOe7QgPQtryHAYphzo,1849
|
10
10
|
moat/kv/model.py,sha256=6OZFWK5XlwMlGyRyx964x7qz1FUOxCAVeX3LyS2riPo,33344
|
11
11
|
moat/kv/runner.py,sha256=6vpChgCjiWHAjc2u0bbOOQ8cT5KB-f4uBnQb8MgH9wk,41826
|
12
|
-
moat/kv/server.py,sha256=
|
12
|
+
moat/kv/server.py,sha256=7C0ZZW1lfyw1ZV11qJXhGiKRryfJZtUqFhVzsVdYTLI,94273
|
13
13
|
moat/kv/types.py,sha256=aCi7_LXzqwruHbEEDJukOjnXNUC2HUaDbgblN8Q05Rc,13998
|
14
14
|
moat/kv/actor/__init__.py,sha256=i560uy9WLE4SmOXWcXKjFKNKZdRR51jOwWg7cSASVRo,2131
|
15
15
|
moat/kv/actor/deletor.py,sha256=F-pb0jHddhmqLp65G7vbZ_QIxXu5ZF0UBzHWKRgN45U,4537
|
@@ -37,11 +37,11 @@ moat/kv/mock/mqtt.py,sha256=b9pzbwQBmTX2eSiSgNO7nh2-7l8-0TT8n2GxinQ-1l0,5213
|
|
37
37
|
moat/kv/mock/tracer.py,sha256=qLEIn9gdlYUypyRYD8O8SbM8ye8XR4xtBl3otP6uNLs,2058
|
38
38
|
moat/kv/obj/__init__.py,sha256=OaQ7PsvvhRhd_H7KUM15nGeApckkCyOv7Xf4llqkzi0,19792
|
39
39
|
moat/kv/obj/command.py,sha256=PzMQOEsXRKjKU3WvFtq1QaPJYBk6oWScKIrA-hAD5vg,7426
|
40
|
-
moat_kv-0.71.
|
41
|
-
moat_kv-0.71.
|
42
|
-
moat_kv-0.71.
|
43
|
-
moat_kv-0.71.
|
44
|
-
moat_kv-0.71.
|
45
|
-
moat_kv-0.71.
|
46
|
-
moat_kv-0.71.
|
47
|
-
moat_kv-0.71.
|
40
|
+
moat_kv-0.71.11.dist-info/licenses/LICENSE,sha256=ZSyHhIjRRWNh4Iw_hgf9e6WYkqFBA9Fczk_5PIW1zIs,185
|
41
|
+
moat_kv-0.71.11.dist-info/licenses/LICENSE.APACHE2,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
42
|
+
moat_kv-0.71.11.dist-info/licenses/LICENSE.MIT,sha256=Pm2uVV65J4f8gtHUg1Vnf0VMf2Wus40_nnK_mj2vA0s,1046
|
43
|
+
moat_kv-0.71.11.dist-info/licenses/LICENSE.txt,sha256=L5vKJLVOg5t0CEEPpW9-O_0vzbP0PEjEF06tLvnIDuk,541
|
44
|
+
moat_kv-0.71.11.dist-info/METADATA,sha256=CSSuM3XpDj3DW0NnkO2r86T0cca818lZMZ6mwXutQA0,3377
|
45
|
+
moat_kv-0.71.11.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
46
|
+
moat_kv-0.71.11.dist-info/top_level.txt,sha256=pcs9fl5w5AB5GVi4SvBqIVmFrkRwQkVw_dEvW0Q0cSA,5
|
47
|
+
moat_kv-0.71.11.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|