ndb 1.22.1 → 1.23.1
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.
- checksums.yaml +4 -4
- data/lib/ndb/errors.rb +3 -0
- data/lib/ndb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7d86c1e2ec34a219492de0bb8ae05d5ec1a7551e03aacee81284e030ba941b0
|
|
4
|
+
data.tar.gz: ba28538f32352f1a3a530296770a78f35dc0c5aa4cfb764c84a37fe8e676c943
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 153adbb22e2fb22bb8cc6da2416679e7228ccd08bf538f00975f0eedd2c8f84f3c8f49498a775ba1e5a28bbc8a262c573287af7fbadade2453862e53f2a166ff
|
|
7
|
+
data.tar.gz: de0fe61d2c3447f4ec7600c18aee7b5888c4ff0963e47958498da7d1378539749c4046b4f49ca4a01d463dac164409029c2c2e8e17737a7953f972e8a6ef071c
|
data/lib/ndb/errors.rb
CHANGED
|
@@ -40,6 +40,8 @@ module Ndb
|
|
|
40
40
|
# An update or a delete of a transaction matched nothing (no such
|
|
41
41
|
# document, or its guard does not match): nothing of it was written.
|
|
42
42
|
class TxConflict < Error; end
|
|
43
|
+
# A key rotation while another one is not finished (ndb key rotate).
|
|
44
|
+
class KeyRotating < Error; end
|
|
43
45
|
class UnknownCollection < Error; end
|
|
44
46
|
class UniqueViolation < Error; end
|
|
45
47
|
class CatalogConflict < Error; end
|
|
@@ -161,6 +163,7 @@ module Ndb
|
|
|
161
163
|
"locked" => Locked,
|
|
162
164
|
"lock_expired" => LockExpired,
|
|
163
165
|
"tx_conflict" => TxConflict,
|
|
166
|
+
"key_rotating" => KeyRotating,
|
|
164
167
|
"unknown_operator" => UnknownOperator,
|
|
165
168
|
"no_update" => NoUpdate,
|
|
166
169
|
"conflicting_update" => ConflictingUpdate,
|
data/lib/ndb/version.rb
CHANGED