virgodb 0.4.6-x86_64-linux-gnu → 0.4.8-x86_64-linux-gnu
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/virgodb/table.rb +17 -0
- data/lib/virgodb/version.rb +1 -1
- data/lib/virgodb/virgodb_ruby.so +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8d126a72fa57e28991c642bd995b952c81df1f024e51291f8a880f63913f5483
|
|
4
|
+
data.tar.gz: 48682c56e3f09417b8e241909edf65ae2519a07e0c62c27813aee63164c3bef1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57912dbb519d7d1c62e13ff1db65b0394f2da3a1013caa6c906aa7ec4c09892d6d029d51deaba9de5a6a5f9217c867f90b6a9a427b971e0fc0a056f6d586a59b
|
|
7
|
+
data.tar.gz: e67f09ae131c4d5d35bbe3f505a79107a0136578b00345d109296b022911d3d4e6b2c843b894ac1916e85e70e5591fe16469743ddc1a8302c26892a356f49487
|
data/lib/virgodb/table.rb
CHANGED
|
@@ -103,6 +103,23 @@ module Virgodb
|
|
|
103
103
|
json && JSON.parse(json)
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
+
# Runs a real PRAGMA integrity_check against the manifest through
|
|
107
|
+
# virgodb's own connection, returning "ok" or a description of what's
|
|
108
|
+
# wrong. Manifest-scoped, not table-scoped -- covers every table sharing
|
|
109
|
+
# this physical file, not just @sql_table_name. Not mutex-guarded, same
|
|
110
|
+
# reasoning as `query`/`maintenance_health` above.
|
|
111
|
+
#
|
|
112
|
+
# Use this instead of running PRAGMA integrity_check through any other
|
|
113
|
+
# connection (e.g. an ActiveRecord/`sqlite3`-gem connection) against
|
|
114
|
+
# this same manifest file -- a real incident traced part of its own risk
|
|
115
|
+
# surface to exactly that: a second connection TYPE (not just a second
|
|
116
|
+
# connection) racing virgodb's own writes on the same shared file. See
|
|
117
|
+
# Manifest::integrity_check's own doc comment (crates/manifest/src/lib.rs)
|
|
118
|
+
# for the full story.
|
|
119
|
+
def integrity_check
|
|
120
|
+
Virgodb.integrity_check(@manifest_path)
|
|
121
|
+
end
|
|
122
|
+
|
|
106
123
|
# Claims this table's maintenance lease as `holder` for the next
|
|
107
124
|
# `lease_duration_secs` seconds, locking out the real maintenance
|
|
108
125
|
# thread (its own claim attempts fail against an unexpired lease the
|
data/lib/virgodb/version.rb
CHANGED
data/lib/virgodb/virgodb_ruby.so
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: virgodb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.8
|
|
5
5
|
platform: x86_64-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- virgodb
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-09-
|
|
11
|
+
date: 2026-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
14
|
Embeds virgodb (an OLAP engine backed by Parquet + DataFusion) directly into a Ruby process
|