pigeonhole-db 1.2.0 → 1.2.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/Cargo.lock +16 -16
- data/Cargo.toml +5 -5
- data/lib/pigeonhole/version.rb +1 -1
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/io-event-1.22.3/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/io-event-1.22.3/mkmf.log +2 -2
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-3.1.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-3.1.0/mkmf.log +2 -2
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.9.0/gem_make.out +7 -7
- data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/rbs-4.2.0/gem_make.out +5 -5
- data/vendor/cache/Cargo.toml +2 -2
- data/vendor/compaction/Cargo.toml +6 -6
- data/vendor/engine/Cargo.toml +11 -11
- data/vendor/engine/src/feed_reader.rs +174 -31
- data/vendor/format/Cargo.toml +1 -1
- data/vendor/io/Cargo.toml +2 -2
- data/vendor/memory/Cargo.toml +4 -4
- data/vendor/memtable/Cargo.toml +3 -3
- data/vendor/pager/Cargo.toml +3 -3
- data/vendor/pigeonhole/Cargo.toml +5 -5
- data/vendor/runtime/Cargo.toml +2 -2
- data/vendor/shm/Cargo.toml +3 -3
- data/vendor/sst/Cargo.toml +4 -4
- data/vendor/text/Cargo.toml +2 -2
- data/vendor/vector/Cargo.toml +2 -2
- data/vendor/wal/Cargo.toml +3 -3
- 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: eb9cbb9a476f27cd94264852af9c2f7aeaea277aca66b12c511a36507e0e156e
|
|
4
|
+
data.tar.gz: bce964bfe50dd430b574a97c4a35a6292b9aa84a002b485a55b03da607775298
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 22e63625bbd389024a2527a706fdb3a0cb381c849b1d86eb3e441697e522d170db9e8dbd93cf4530b06c3c8c2df9b63730c2e1751af34652dbc007226a4133f2
|
|
7
|
+
data.tar.gz: 76b2272789031fa8979742af2f86bd040e671631bb491b3c459f883e12a02e801df159a55c7f1ad48e1a8c6e1721055056dcc6907d2d1918e2bffdacead8be7c
|
data/Cargo.lock
CHANGED
|
@@ -385,7 +385,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
|
385
385
|
|
|
386
386
|
[[package]]
|
|
387
387
|
name = "pigeonhole"
|
|
388
|
-
version = "1.2.
|
|
388
|
+
version = "1.2.1"
|
|
389
389
|
dependencies = [
|
|
390
390
|
"arc-swap",
|
|
391
391
|
"futures-core",
|
|
@@ -398,14 +398,14 @@ dependencies = [
|
|
|
398
398
|
|
|
399
399
|
[[package]]
|
|
400
400
|
name = "pigeonhole-cache"
|
|
401
|
-
version = "3.0.
|
|
401
|
+
version = "3.0.1"
|
|
402
402
|
dependencies = [
|
|
403
403
|
"pigeonhole-io",
|
|
404
404
|
]
|
|
405
405
|
|
|
406
406
|
[[package]]
|
|
407
407
|
name = "pigeonhole-compaction"
|
|
408
|
-
version = "3.0.
|
|
408
|
+
version = "3.0.1"
|
|
409
409
|
dependencies = [
|
|
410
410
|
"pigeonhole-cache",
|
|
411
411
|
"pigeonhole-format",
|
|
@@ -416,7 +416,7 @@ dependencies = [
|
|
|
416
416
|
|
|
417
417
|
[[package]]
|
|
418
418
|
name = "pigeonhole-engine"
|
|
419
|
-
version = "3.0.
|
|
419
|
+
version = "3.0.1"
|
|
420
420
|
dependencies = [
|
|
421
421
|
"arc-swap",
|
|
422
422
|
"loom",
|
|
@@ -435,7 +435,7 @@ dependencies = [
|
|
|
435
435
|
|
|
436
436
|
[[package]]
|
|
437
437
|
name = "pigeonhole-format"
|
|
438
|
-
version = "3.0.
|
|
438
|
+
version = "3.0.1"
|
|
439
439
|
dependencies = [
|
|
440
440
|
"crc-fast",
|
|
441
441
|
"foldhash",
|
|
@@ -447,7 +447,7 @@ dependencies = [
|
|
|
447
447
|
|
|
448
448
|
[[package]]
|
|
449
449
|
name = "pigeonhole-io"
|
|
450
|
-
version = "3.0.
|
|
450
|
+
version = "3.0.1"
|
|
451
451
|
dependencies = [
|
|
452
452
|
"io-uring",
|
|
453
453
|
"libc",
|
|
@@ -458,7 +458,7 @@ dependencies = [
|
|
|
458
458
|
|
|
459
459
|
[[package]]
|
|
460
460
|
name = "pigeonhole-memory"
|
|
461
|
-
version = "1.2.
|
|
461
|
+
version = "1.2.1"
|
|
462
462
|
dependencies = [
|
|
463
463
|
"futures-core",
|
|
464
464
|
"getrandom 0.3.4",
|
|
@@ -470,7 +470,7 @@ dependencies = [
|
|
|
470
470
|
|
|
471
471
|
[[package]]
|
|
472
472
|
name = "pigeonhole-memtable"
|
|
473
|
-
version = "3.0.
|
|
473
|
+
version = "3.0.1"
|
|
474
474
|
dependencies = [
|
|
475
475
|
"pigeonhole-format",
|
|
476
476
|
"pigeonhole-io",
|
|
@@ -478,7 +478,7 @@ dependencies = [
|
|
|
478
478
|
|
|
479
479
|
[[package]]
|
|
480
480
|
name = "pigeonhole-pager"
|
|
481
|
-
version = "3.0.
|
|
481
|
+
version = "3.0.1"
|
|
482
482
|
dependencies = [
|
|
483
483
|
"pigeonhole-format",
|
|
484
484
|
"pigeonhole-io",
|
|
@@ -486,7 +486,7 @@ dependencies = [
|
|
|
486
486
|
|
|
487
487
|
[[package]]
|
|
488
488
|
name = "pigeonhole-ruby"
|
|
489
|
-
version = "1.2.
|
|
489
|
+
version = "1.2.1"
|
|
490
490
|
dependencies = [
|
|
491
491
|
"magnus",
|
|
492
492
|
"nix",
|
|
@@ -499,14 +499,14 @@ dependencies = [
|
|
|
499
499
|
|
|
500
500
|
[[package]]
|
|
501
501
|
name = "pigeonhole-runtime"
|
|
502
|
-
version = "3.0.
|
|
502
|
+
version = "3.0.1"
|
|
503
503
|
dependencies = [
|
|
504
504
|
"pigeonhole-io",
|
|
505
505
|
]
|
|
506
506
|
|
|
507
507
|
[[package]]
|
|
508
508
|
name = "pigeonhole-shm"
|
|
509
|
-
version = "3.0.
|
|
509
|
+
version = "3.0.1"
|
|
510
510
|
dependencies = [
|
|
511
511
|
"pigeonhole-format",
|
|
512
512
|
"pigeonhole-io",
|
|
@@ -514,7 +514,7 @@ dependencies = [
|
|
|
514
514
|
|
|
515
515
|
[[package]]
|
|
516
516
|
name = "pigeonhole-sst"
|
|
517
|
-
version = "3.0.
|
|
517
|
+
version = "3.0.1"
|
|
518
518
|
dependencies = [
|
|
519
519
|
"pigeonhole-cache",
|
|
520
520
|
"pigeonhole-format",
|
|
@@ -523,7 +523,7 @@ dependencies = [
|
|
|
523
523
|
|
|
524
524
|
[[package]]
|
|
525
525
|
name = "pigeonhole-text"
|
|
526
|
-
version = "1.2.
|
|
526
|
+
version = "1.2.1"
|
|
527
527
|
dependencies = [
|
|
528
528
|
"futures-core",
|
|
529
529
|
"levenshtein_automata",
|
|
@@ -534,7 +534,7 @@ dependencies = [
|
|
|
534
534
|
|
|
535
535
|
[[package]]
|
|
536
536
|
name = "pigeonhole-vector"
|
|
537
|
-
version = "1.2.
|
|
537
|
+
version = "1.2.1"
|
|
538
538
|
dependencies = [
|
|
539
539
|
"futures-core",
|
|
540
540
|
"pigeonhole",
|
|
@@ -542,7 +542,7 @@ dependencies = [
|
|
|
542
542
|
|
|
543
543
|
[[package]]
|
|
544
544
|
name = "pigeonhole-wal"
|
|
545
|
-
version = "3.0.
|
|
545
|
+
version = "3.0.1"
|
|
546
546
|
dependencies = [
|
|
547
547
|
"pigeonhole-format",
|
|
548
548
|
"pigeonhole-io",
|
data/Cargo.toml
CHANGED
|
@@ -5,16 +5,16 @@ features = ["bytes"]
|
|
|
5
5
|
version = "0.9"
|
|
6
6
|
[dependencies.pigeonhole]
|
|
7
7
|
path = "vendor/pigeonhole"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.1"
|
|
9
9
|
[dependencies.pigeonhole-memory]
|
|
10
10
|
path = "vendor/memory"
|
|
11
|
-
version = "1.2.
|
|
11
|
+
version = "1.2.1"
|
|
12
12
|
[dependencies.pigeonhole-text]
|
|
13
13
|
path = "vendor/text"
|
|
14
|
-
version = "1.2.
|
|
14
|
+
version = "1.2.1"
|
|
15
15
|
[dependencies.pigeonhole-vector]
|
|
16
16
|
path = "vendor/vector"
|
|
17
|
-
version = "1.2.
|
|
17
|
+
version = "1.2.1"
|
|
18
18
|
[dependencies.rb-sys]
|
|
19
19
|
version = "0.9"
|
|
20
20
|
[features]
|
|
@@ -39,7 +39,7 @@ name = "pigeonhole-ruby"
|
|
|
39
39
|
publish = false
|
|
40
40
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
41
41
|
rust-version = "1.96"
|
|
42
|
-
version = "1.2.
|
|
42
|
+
version = "1.2.1"
|
|
43
43
|
[profile.release]
|
|
44
44
|
codegen-units = 1
|
|
45
45
|
lto = "thin"
|
data/lib/pigeonhole/version.rb
CHANGED
|
@@ -24,10 +24,10 @@ creating extconf.h
|
|
|
24
24
|
creating Makefile
|
|
25
25
|
|
|
26
26
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/io-event-1.22.3/ext
|
|
27
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
27
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-7t02jp sitelibdir\=./.gem.20261114-2436-7t02jp clean
|
|
28
28
|
|
|
29
29
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/io-event-1.22.3/ext
|
|
30
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
30
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-7t02jp sitelibdir\=./.gem.20261114-2436-7t02jp
|
|
31
31
|
compiling ./io/event/event.c
|
|
32
32
|
compiling ./io/event/time.c
|
|
33
33
|
compiling ./io/event/fiber.c
|
|
@@ -38,8 +38,8 @@ compiling ./io/event/interrupt.c
|
|
|
38
38
|
linking shared-object IO_Event.so
|
|
39
39
|
|
|
40
40
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/io-event-1.22.3/ext
|
|
41
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
42
|
-
/usr/bin/install -c -m 0755 IO_Event.so ./.gem.
|
|
41
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-7t02jp sitelibdir\=./.gem.20261114-2436-7t02jp install
|
|
42
|
+
/usr/bin/install -c -m 0755 IO_Event.so ./.gem.20261114-2436-7t02jp
|
|
43
43
|
|
|
44
44
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/io-event-1.22.3/ext
|
|
45
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
45
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-7t02jp sitelibdir\=./.gem.20261114-2436-7t02jp clean
|
|
@@ -298,7 +298,7 @@ checked program was:
|
|
|
298
298
|
/* end */
|
|
299
299
|
|
|
300
300
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.12/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -lruby -lm -lpthread -lc"
|
|
301
|
-
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/
|
|
301
|
+
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/cc0tAceU.o: in function `t':
|
|
302
302
|
/home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/io-event-1.22.3/ext/conftest.c:15:(.text+0xb): undefined reference to `rb_process_status_for'
|
|
303
303
|
collect2: error: ld returned 1 exit status
|
|
304
304
|
checked program was:
|
|
@@ -460,7 +460,7 @@ checked program was:
|
|
|
460
460
|
/* end */
|
|
461
461
|
|
|
462
462
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.12/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -Wall -Wno-unknown-pragmas -std=c99 conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -lruby -lm -lpthread -lc"
|
|
463
|
-
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/
|
|
463
|
+
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccfvUwv4.o: in function `t':
|
|
464
464
|
/home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/io-event-1.22.3/ext/conftest.c:15:(.text+0xb): undefined reference to `rb_fiber_scheduler_blocking_operation_extract'
|
|
465
465
|
collect2: error: ld returned 1 exit status
|
|
466
466
|
checked program was:
|
|
@@ -16,16 +16,16 @@ checking for cpuid.h... yes
|
|
|
16
16
|
creating Makefile
|
|
17
17
|
|
|
18
18
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/json-3.1.0/ext/json/ext/parser
|
|
19
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
19
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-ezh9p0 sitelibdir\=./.gem.20261114-2436-ezh9p0 clean
|
|
20
20
|
|
|
21
21
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/json-3.1.0/ext/json/ext/parser
|
|
22
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
22
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-ezh9p0 sitelibdir\=./.gem.20261114-2436-ezh9p0
|
|
23
23
|
compiling parser.c
|
|
24
24
|
linking shared-object json/ext/parser.so
|
|
25
25
|
|
|
26
26
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/json-3.1.0/ext/json/ext/parser
|
|
27
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
28
|
-
/usr/bin/install -c -m 0755 parser.so ./.gem.
|
|
27
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-ezh9p0 sitelibdir\=./.gem.20261114-2436-ezh9p0 install
|
|
28
|
+
/usr/bin/install -c -m 0755 parser.so ./.gem.20261114-2436-ezh9p0/json/ext
|
|
29
29
|
|
|
30
30
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/json-3.1.0/ext/json/ext/parser
|
|
31
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
31
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-ezh9p0 sitelibdir\=./.gem.20261114-2436-ezh9p0 clean
|
|
@@ -143,7 +143,7 @@ checked program was:
|
|
|
143
143
|
/* end */
|
|
144
144
|
|
|
145
145
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.12/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -lruby -lm -lpthread -lc"
|
|
146
|
-
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/
|
|
146
|
+
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccEAFQTl.o: in function `t':
|
|
147
147
|
/home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/json-3.1.0/ext/json/ext/parser/conftest.c:17:(.text+0x9): undefined reference to `ruby_xfree_sized'
|
|
148
148
|
collect2: error: ld returned 1 exit status
|
|
149
149
|
checked program was:
|
|
@@ -184,7 +184,7 @@ checked program was:
|
|
|
184
184
|
have_func: checking for _lzcnt_u64() in x86intrin.h... -------------------- no
|
|
185
185
|
|
|
186
186
|
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.12/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.12/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.12/x64/lib -lruby -lm -lpthread -lc"
|
|
187
|
-
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/
|
|
187
|
+
/usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccAHPNhy.o: in function `t':
|
|
188
188
|
/home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/json-3.1.0/ext/json/ext/parser/conftest.c:16:(.text+0x7): undefined reference to `_lzcnt_u64'
|
|
189
189
|
collect2: error: ld returned 1 exit status
|
|
190
190
|
checked program was:
|
|
@@ -6,13 +6,13 @@ checking for whether -fvisibility=hidden is accepted as CFLAGS... yes
|
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-193doz sitelibdir\=./.gem.20261114-2436-193doz clean
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-193doz sitelibdir\=./.gem.20261114-2436-193doz
|
|
13
13
|
compiling api_node.c
|
|
14
|
-
compiling extension.c
|
|
15
14
|
compiling api_pack.c
|
|
15
|
+
compiling extension.c
|
|
16
16
|
compiling ./../../src/diagnostic.c
|
|
17
17
|
compiling ./../../src/encoding.c
|
|
18
18
|
compiling ./../../src/node.c
|
|
@@ -34,19 +34,19 @@ compiling ./../../src/util/pm_memchr.c
|
|
|
34
34
|
./../../src/util/pm_memchr.c:31:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
|
|
35
35
|
31 | return memchr(memory, character, number);
|
|
36
36
|
| ^~~~~~
|
|
37
|
-
compiling ./../../src/util/pm_newline_list.c
|
|
38
37
|
At top level:
|
|
39
38
|
cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
|
|
40
39
|
cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
|
|
41
40
|
cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics
|
|
41
|
+
compiling ./../../src/util/pm_newline_list.c
|
|
42
42
|
compiling ./../../src/util/pm_string.c
|
|
43
43
|
compiling ./../../src/util/pm_strncasecmp.c
|
|
44
44
|
compiling ./../../src/util/pm_strpbrk.c
|
|
45
45
|
linking shared-object prism/prism.so
|
|
46
46
|
|
|
47
47
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
48
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
49
|
-
/usr/bin/install -c -m 0755 prism.so ./.gem.
|
|
48
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-193doz sitelibdir\=./.gem.20261114-2436-193doz install
|
|
49
|
+
/usr/bin/install -c -m 0755 prism.so ./.gem.20261114-2436-193doz/prism
|
|
50
50
|
|
|
51
51
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/prism-1.9.0/ext/prism
|
|
52
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
52
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-193doz sitelibdir\=./.gem.20261114-2436-193doz clean
|
|
@@ -9,10 +9,10 @@ checking for whether -DNDEBUG is accepted as CFLAGS... yes
|
|
|
9
9
|
creating Makefile
|
|
10
10
|
|
|
11
11
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/rbs-4.2.0/ext/rbs_extension
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-shysjp sitelibdir\=./.gem.20261114-2436-shysjp clean
|
|
13
13
|
|
|
14
14
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/rbs-4.2.0/ext/rbs_extension
|
|
15
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-shysjp sitelibdir\=./.gem.20261114-2436-shysjp
|
|
16
16
|
compiling ./../../src/ast.c
|
|
17
17
|
compiling ./../../src/lexer.c
|
|
18
18
|
compiling ./../../src/lexstate.c
|
|
@@ -34,8 +34,8 @@ compiling rbs_string_bridging.c
|
|
|
34
34
|
linking shared-object rbs_extension.so
|
|
35
35
|
|
|
36
36
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/rbs-4.2.0/ext/rbs_extension
|
|
37
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
38
|
-
/usr/bin/install -c -m 0755 rbs_extension.so ./.gem.
|
|
37
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-shysjp sitelibdir\=./.gem.20261114-2436-shysjp install
|
|
38
|
+
/usr/bin/install -c -m 0755 rbs_extension.so ./.gem.20261114-2436-shysjp
|
|
39
39
|
|
|
40
40
|
current directory: /home/runner/work/pigeonhole/pigeonhole/crates/ruby/vendor/bundle/ruby/3.4.0/gems/rbs-4.2.0/ext/rbs_extension
|
|
41
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
41
|
+
make DESTDIR\= sitearchdir\=./.gem.20261114-2436-shysjp sitelibdir\=./.gem.20261114-2436-shysjp clean
|
data/vendor/cache/Cargo.toml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-io]
|
|
4
4
|
path = "../io"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[lints.rust.unexpected_cfgs]
|
|
7
7
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
8
8
|
level = "warn"
|
|
@@ -17,5 +17,5 @@ name = "pigeonhole-cache"
|
|
|
17
17
|
readme = "README.md"
|
|
18
18
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
19
19
|
rust-version = "1.96"
|
|
20
|
-
version = "3.0.
|
|
20
|
+
version = "3.0.1"
|
|
21
21
|
[target."cfg(loom)"]
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-cache]
|
|
4
4
|
path = "../cache"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[dependencies.pigeonhole-format]
|
|
7
7
|
path = "../format"
|
|
8
|
-
version = "=3.0.
|
|
8
|
+
version = "=3.0.1"
|
|
9
9
|
[dependencies.pigeonhole-io]
|
|
10
10
|
path = "../io"
|
|
11
|
-
version = "=3.0.
|
|
11
|
+
version = "=3.0.1"
|
|
12
12
|
[dependencies.pigeonhole-pager]
|
|
13
13
|
path = "../pager"
|
|
14
|
-
version = "=3.0.
|
|
14
|
+
version = "=3.0.1"
|
|
15
15
|
[dependencies.pigeonhole-sst]
|
|
16
16
|
path = "../sst"
|
|
17
|
-
version = "=3.0.
|
|
17
|
+
version = "=3.0.1"
|
|
18
18
|
[lints.rust.unexpected_cfgs]
|
|
19
19
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
20
20
|
level = "warn"
|
|
@@ -29,4 +29,4 @@ name = "pigeonhole-compaction"
|
|
|
29
29
|
readme = "README.md"
|
|
30
30
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
31
31
|
rust-version = "1.96"
|
|
32
|
-
version = "3.0.
|
|
32
|
+
version = "3.0.1"
|
data/vendor/engine/Cargo.toml
CHANGED
|
@@ -4,34 +4,34 @@
|
|
|
4
4
|
version = "1"
|
|
5
5
|
[dependencies.pigeonhole-cache]
|
|
6
6
|
path = "../cache"
|
|
7
|
-
version = "=3.0.
|
|
7
|
+
version = "=3.0.1"
|
|
8
8
|
[dependencies.pigeonhole-compaction]
|
|
9
9
|
path = "../compaction"
|
|
10
|
-
version = "=3.0.
|
|
10
|
+
version = "=3.0.1"
|
|
11
11
|
[dependencies.pigeonhole-format]
|
|
12
12
|
path = "../format"
|
|
13
|
-
version = "=3.0.
|
|
13
|
+
version = "=3.0.1"
|
|
14
14
|
[dependencies.pigeonhole-io]
|
|
15
15
|
path = "../io"
|
|
16
|
-
version = "=3.0.
|
|
16
|
+
version = "=3.0.1"
|
|
17
17
|
[dependencies.pigeonhole-memtable]
|
|
18
18
|
path = "../memtable"
|
|
19
|
-
version = "=3.0.
|
|
19
|
+
version = "=3.0.1"
|
|
20
20
|
[dependencies.pigeonhole-pager]
|
|
21
21
|
path = "../pager"
|
|
22
|
-
version = "=3.0.
|
|
22
|
+
version = "=3.0.1"
|
|
23
23
|
[dependencies.pigeonhole-runtime]
|
|
24
24
|
path = "../runtime"
|
|
25
|
-
version = "=3.0.
|
|
25
|
+
version = "=3.0.1"
|
|
26
26
|
[dependencies.pigeonhole-shm]
|
|
27
27
|
path = "../shm"
|
|
28
|
-
version = "=3.0.
|
|
28
|
+
version = "=3.0.1"
|
|
29
29
|
[dependencies.pigeonhole-sst]
|
|
30
30
|
path = "../sst"
|
|
31
|
-
version = "=3.0.
|
|
31
|
+
version = "=3.0.1"
|
|
32
32
|
[dependencies.pigeonhole-wal]
|
|
33
33
|
path = "../wal"
|
|
34
|
-
version = "=3.0.
|
|
34
|
+
version = "=3.0.1"
|
|
35
35
|
[dependencies.smallvec]
|
|
36
36
|
version = "1"
|
|
37
37
|
[features]
|
|
@@ -50,7 +50,7 @@ name = "pigeonhole-engine"
|
|
|
50
50
|
readme = "README.md"
|
|
51
51
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
52
52
|
rust-version = "1.96"
|
|
53
|
-
version = "3.0.
|
|
53
|
+
version = "3.0.1"
|
|
54
54
|
[target."cfg(engine_loom)".dependencies.loom]
|
|
55
55
|
version = "0.7"
|
|
56
56
|
[target."cfg(unix)"]
|
|
@@ -49,6 +49,13 @@ const TOKEN_VERSION: u8 = 1;
|
|
|
49
49
|
/// resuming every table from it would skip them. A build that doesn't know this version
|
|
50
50
|
/// refuses the token as not one (`InvalidArgument`), never misreading it.
|
|
51
51
|
const TOKEN_VERSION_ALL: u8 = 2;
|
|
52
|
+
/// 1.3's token of a feed of every table (D325, ICR 0136): version 2's layout followed by 16
|
|
53
|
+
/// bytes, the catalog at its position, which 1.3 checks on resume. This build reads it as
|
|
54
|
+
/// version 2 and ignores those bytes, so a rollback from 1.3 keeps its feeds (the owner's
|
|
55
|
+
/// rule, 2026-11-13). Its own tokens stay version 2.
|
|
56
|
+
const TOKEN_VERSION_ALL_CATALOG: u8 = 3;
|
|
57
|
+
/// The bytes version 3 adds.
|
|
58
|
+
const TOKEN_CATALOG_LEN: usize = 16;
|
|
52
59
|
|
|
53
60
|
/// Where a feed starts.
|
|
54
61
|
#[derive(Debug, Clone)]
|
|
@@ -547,6 +554,19 @@ pub struct FeedReader {
|
|
|
547
554
|
/// The sidecar, once opened ([`FeedReader::load_catalog`]).
|
|
548
555
|
sidecar_file: Option<pigeonhole_io::FileRef>,
|
|
549
556
|
dropped_tables: HashSet<TableId>,
|
|
557
|
+
/// Every table a catalog change in the sidecar drops, read so far: rooted or not yet,
|
|
558
|
+
/// delivered, passed over or queued (#1853). A feed of every table delivering a change to
|
|
559
|
+
/// a table the catalog no longer has, and none of these drops, expires.
|
|
560
|
+
recorded_drops: HashSet<TableId>,
|
|
561
|
+
/// Every table a catalog change in the sidecar creates, read so far: a reader process's
|
|
562
|
+
/// view can lag the writer's manifest, and miss a table this feed already has a commit to.
|
|
563
|
+
recorded_creates: HashSet<TableId>,
|
|
564
|
+
/// A feed of every table: the tables seen present in `present_of`, the catalog of the
|
|
565
|
+
/// view they were checked against (#1853's guard, without a lookup per commit).
|
|
566
|
+
present: pigeonhole_format::hash::FastSet<TableId>,
|
|
567
|
+
present_of: Option<Arc<crate::catalog::Catalog>>,
|
|
568
|
+
/// The table the last commit's changes ended with, present in `present_of`.
|
|
569
|
+
present_last: Option<TableId>,
|
|
550
570
|
out_catalog: CatalogEvent,
|
|
551
571
|
expired: Option<Expiry>,
|
|
552
572
|
/// An error that ended the reader once a commit was already taken (a blob value that
|
|
@@ -850,6 +870,11 @@ impl FeedReader {
|
|
|
850
870
|
catalog_roots_seen: 0,
|
|
851
871
|
sidecar_file: None,
|
|
852
872
|
dropped_tables: HashSet::new(),
|
|
873
|
+
recorded_drops: HashSet::new(),
|
|
874
|
+
recorded_creates: HashSet::new(),
|
|
875
|
+
present: Default::default(),
|
|
876
|
+
present_of: None,
|
|
877
|
+
present_last: None,
|
|
853
878
|
out_catalog: CatalogEvent::default(),
|
|
854
879
|
};
|
|
855
880
|
let token_start = matches!(spec.start, FeedStart::Token(_));
|
|
@@ -2081,6 +2106,20 @@ impl FeedReader {
|
|
|
2081
2106
|
Packs::One(r) => std::slice::from_ref(r),
|
|
2082
2107
|
Packs::Many(v) => v,
|
|
2083
2108
|
};
|
|
2109
|
+
// A feed of every table (#1853): the tables seen present in the catalog, kept
|
|
2110
|
+
// while the catalog is the same one (a view swap with a new catalog forgets
|
|
2111
|
+
// them), so a commit to tables seen before costs no lookup (perf287 on #1857).
|
|
2112
|
+
let every = self.tables.is_empty();
|
|
2113
|
+
if every
|
|
2114
|
+
&& !self
|
|
2115
|
+
.present_of
|
|
2116
|
+
.as_ref()
|
|
2117
|
+
.is_some_and(|c| Arc::ptr_eq(c, &view.catalog))
|
|
2118
|
+
{
|
|
2119
|
+
self.present.clear();
|
|
2120
|
+
self.present_last = None;
|
|
2121
|
+
self.present_of = Some(Arc::clone(&view.catalog));
|
|
2122
|
+
}
|
|
2084
2123
|
let dropped = &self.dropped_tables;
|
|
2085
2124
|
let kept = |r: &RawRef<'_>| dropped.is_empty() || !dropped.contains(&r.table);
|
|
2086
2125
|
if !packs.iter().flat_map(Raws::iter).any(|r| kept(&r)) {
|
|
@@ -2089,37 +2128,112 @@ impl FeedReader {
|
|
|
2089
2128
|
self.out.seqno = key;
|
|
2090
2129
|
self.out.ts = ts;
|
|
2091
2130
|
self.out.changes.clear();
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
Err(e) => {
|
|
2109
|
-
self.failed = Some(e.to_string());
|
|
2110
|
-
return Err(e);
|
|
2131
|
+
// Takes change `$r` into the commit, or ends the reader (a blob gone, or an error).
|
|
2132
|
+
// One copy of the code in each loop below, so a feed of some tables runs exactly
|
|
2133
|
+
// the loop it ran before #1857's check.
|
|
2134
|
+
macro_rules! take {
|
|
2135
|
+
($r:expr) => {{
|
|
2136
|
+
let r = $r;
|
|
2137
|
+
let value = match blob_pointer(r.value) {
|
|
2138
|
+
None => r.value.to_vec(),
|
|
2139
|
+
// The blob GC horizon follows the oldest retained segment, not readers: a
|
|
2140
|
+
// file the view no longer lists under a slow reader means retention
|
|
2141
|
+
// passed it (S1). Any other failure, a checksum's included, is an error.
|
|
2142
|
+
Some(ptr) if view.ssts.blob_reader(ptr.blob_file).is_none() => {
|
|
2143
|
+
self.expired = Some(expiry(
|
|
2144
|
+
"a blob value the feed was delivering is gone: retention passed the feed",
|
|
2145
|
+
));
|
|
2146
|
+
return Ok(Emitted::Nothing);
|
|
2111
2147
|
}
|
|
2112
|
-
|
|
2148
|
+
Some(ptr) => match view.ssts.read_pointer(&ptr) {
|
|
2149
|
+
Ok(cell) => cell.to_vec(),
|
|
2150
|
+
// The commit is taken: going on would skip it, so the reader stops
|
|
2151
|
+
// here for good.
|
|
2152
|
+
Err(e) => {
|
|
2153
|
+
self.failed = Some(e.to_string());
|
|
2154
|
+
return Err(e);
|
|
2155
|
+
}
|
|
2156
|
+
},
|
|
2157
|
+
};
|
|
2158
|
+
self.out.changes.push(Change {
|
|
2159
|
+
table: r.table,
|
|
2160
|
+
family: r.family,
|
|
2161
|
+
kind: r.kind,
|
|
2162
|
+
ts: r.ts.unwrap_or(ts),
|
|
2163
|
+
row: r.row.to_vec(),
|
|
2164
|
+
qualifier: r.qualifier.to_vec(),
|
|
2165
|
+
value,
|
|
2166
|
+
});
|
|
2167
|
+
}};
|
|
2168
|
+
}
|
|
2169
|
+
// A table of this commit the catalog doesn't have (#1853), checked in this pass:
|
|
2170
|
+
// a commit's changes run by table, so each run is checked once, and a run of the
|
|
2171
|
+
// table the last one ended with (`present_last`) costs no lookup at all.
|
|
2172
|
+
// The order is deliberate (feed1248's N1 on #1874): the changes are taken in the
|
|
2173
|
+
// same pass, so a commit with a missing table may end on its values first, a blob
|
|
2174
|
+
// gone (`FeedExpired` too, worded for retention) or a read error. Checking before
|
|
2175
|
+
// the values would bring back the second pass this replaces.
|
|
2176
|
+
let mut missing = false;
|
|
2177
|
+
if every {
|
|
2178
|
+
let mut last = self.present_last;
|
|
2179
|
+
for r in packs.iter().flat_map(Raws::iter).filter(kept) {
|
|
2180
|
+
if last != Some(r.table) {
|
|
2181
|
+
last = Some(r.table);
|
|
2182
|
+
if !self.present.contains(&r.table) {
|
|
2183
|
+
if view.catalog.table(r.table).is_some() {
|
|
2184
|
+
self.present.insert(r.table);
|
|
2185
|
+
} else {
|
|
2186
|
+
missing = true;
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
}
|
|
2190
|
+
take!(r);
|
|
2191
|
+
}
|
|
2192
|
+
if !missing {
|
|
2193
|
+
self.present_last = last;
|
|
2194
|
+
}
|
|
2195
|
+
} else {
|
|
2196
|
+
for r in packs.iter().flat_map(Raws::iter).filter(kept) {
|
|
2197
|
+
take!(r);
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
// A table the catalog no longer has was dropped, and every drop appends its
|
|
2201
|
+
// catalog change to the sidecar before the catalog loses the table. If no recorded
|
|
2202
|
+
// drop explains a table missing from the view, even after reading the sidecar
|
|
2203
|
+
// again (a drop can race the view), the table was dropped by a session that
|
|
2204
|
+
// records no catalog changes: a 1.1.x session after a rollback. Catalog changes
|
|
2205
|
+
// are then missing from the history (that session's creates too), so the feed
|
|
2206
|
+
// expires rather than deliver a commit it can't name and go on without them. In
|
|
2207
|
+
// a reader process, whose view can lag the writer's manifest, a table a recorded
|
|
2208
|
+
// change created may be missing from the view without a drop.
|
|
2209
|
+
if missing {
|
|
2210
|
+
let lagging = self.writer.is_none();
|
|
2211
|
+
let unexplained = |this: &Self| {
|
|
2212
|
+
packs
|
|
2213
|
+
.iter()
|
|
2214
|
+
.flat_map(Raws::iter)
|
|
2215
|
+
.map(|r| r.table)
|
|
2216
|
+
.find(|&t| {
|
|
2217
|
+
view.catalog.table(t).is_none()
|
|
2218
|
+
&& !this.recorded_drops.contains(&t)
|
|
2219
|
+
&& !(lagging && this.recorded_creates.contains(&t))
|
|
2220
|
+
})
|
|
2113
2221
|
};
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2222
|
+
// Most missing tables are explained by a drop already read: the sidecar is
|
|
2223
|
+
// read again only when one isn't.
|
|
2224
|
+
if unexplained(self).is_some() {
|
|
2225
|
+
self.load_catalog(None)?;
|
|
2226
|
+
}
|
|
2227
|
+
if let Some(table) = unexplained(self) {
|
|
2228
|
+
self.expired = Some(expiry(format!(
|
|
2229
|
+
"seqno {key} changes table id {}, which the catalog no longer has and \
|
|
2230
|
+
no catalog change in the feed's history dropped: a session that \
|
|
2231
|
+
records no catalog changes (a 1.1.x build's, after a rollback) \
|
|
2232
|
+
changed the tables, so the feed can't deliver those changes",
|
|
2233
|
+
table.0
|
|
2234
|
+
)));
|
|
2235
|
+
return Ok(Emitted::Nothing);
|
|
2236
|
+
}
|
|
2123
2237
|
}
|
|
2124
2238
|
return Ok(Emitted::Commit);
|
|
2125
2239
|
}
|
|
@@ -2345,6 +2459,24 @@ impl FeedReader {
|
|
|
2345
2459
|
// Up to the first torn entry: the rest is read again once it's whole.
|
|
2346
2460
|
let (entries, used) = decode_entries_at(&bytes);
|
|
2347
2461
|
self.sidecar_pos = from + used as u64;
|
|
2462
|
+
// Every create and drop the file records, whatever its state (#1853): what explains
|
|
2463
|
+
// a table missing from the catalog. Entries past a pending one are read again next
|
|
2464
|
+
// time; the sets don't mind.
|
|
2465
|
+
for (_, e) in &entries {
|
|
2466
|
+
if let FeedEntry::Catalog { edits, .. } = e {
|
|
2467
|
+
for edit in edits {
|
|
2468
|
+
match edit {
|
|
2469
|
+
pigeonhole_format::manifest::Edit::DropTable { table } => {
|
|
2470
|
+
self.recorded_drops.insert(*table);
|
|
2471
|
+
}
|
|
2472
|
+
pigeonhole_format::manifest::Edit::CreateTable { table, .. } => {
|
|
2473
|
+
self.recorded_creates.insert(*table);
|
|
2474
|
+
}
|
|
2475
|
+
_ => {}
|
|
2476
|
+
}
|
|
2477
|
+
}
|
|
2478
|
+
}
|
|
2479
|
+
}
|
|
2348
2480
|
// A catalog change counts once its root commit's Root entry follows it (D315
|
|
2349
2481
|
// amendment): its entry is appended with the commit's intent, before the commit
|
|
2350
2482
|
// writes, and a commit that then fails is cut off at the next open, so until the
|
|
@@ -2612,13 +2744,24 @@ impl<'a> TokenHeader<'a> {
|
|
|
2612
2744
|
fn parse(bytes: &'a [u8]) -> Result<Self> {
|
|
2613
2745
|
let bad = || Error::InvalidArgument("not a change feed token".into());
|
|
2614
2746
|
let (&version, rest) = bytes.split_first().ok_or_else(bad)?;
|
|
2615
|
-
if !matches!(
|
|
2747
|
+
if !matches!(
|
|
2748
|
+
version,
|
|
2749
|
+
TOKEN_VERSION | TOKEN_VERSION_ALL | TOKEN_VERSION_ALL_CATALOG
|
|
2750
|
+
) || rest.len() < 16 + 4 + 8 + 8
|
|
2751
|
+
{
|
|
2616
2752
|
return Err(bad());
|
|
2617
2753
|
}
|
|
2618
2754
|
let u64_at = |b: &[u8], at: usize| u64::from_le_bytes(b[at..at + 8].try_into().unwrap());
|
|
2619
|
-
let all_tables = version
|
|
2755
|
+
let all_tables = version != TOKEN_VERSION;
|
|
2620
2756
|
let streams = u32::from_le_bytes(rest[16..20].try_into().unwrap()) as usize;
|
|
2621
2757
|
let mut per = &rest[36..];
|
|
2758
|
+
// Version 3 (1.3's): the catalog at the position, last; ignored here (D325).
|
|
2759
|
+
if version == TOKEN_VERSION_ALL_CATALOG {
|
|
2760
|
+
let Some(split) = per.len().checked_sub(TOKEN_CATALOG_LEN) else {
|
|
2761
|
+
return Err(bad());
|
|
2762
|
+
};
|
|
2763
|
+
per = &per[..split];
|
|
2764
|
+
}
|
|
2622
2765
|
let (mut catalog_seq, mut catalog_bound) = (0, 0);
|
|
2623
2766
|
if all_tables {
|
|
2624
2767
|
// The last catalog change delivered and the start's bound, after the streams'
|
data/vendor/format/Cargo.toml
CHANGED
data/vendor/io/Cargo.toml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-format]
|
|
4
4
|
path = "../format"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[lints.rust.unexpected_cfgs]
|
|
7
7
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
8
8
|
level = "warn"
|
|
@@ -17,7 +17,7 @@ name = "pigeonhole-io"
|
|
|
17
17
|
readme = "README.md"
|
|
18
18
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
19
19
|
rust-version = "1.96"
|
|
20
|
-
version = "3.0.
|
|
20
|
+
version = "3.0.1"
|
|
21
21
|
[target."cfg(io_loom)".dependencies.loom]
|
|
22
22
|
version = "0.7"
|
|
23
23
|
[target."cfg(target_os = \"linux\")".dependencies.io-uring]
|
data/vendor/memory/Cargo.toml
CHANGED
|
@@ -8,13 +8,13 @@ version = "0.3"
|
|
|
8
8
|
version = "0.3"
|
|
9
9
|
[dependencies.pigeonhole]
|
|
10
10
|
path = "../pigeonhole"
|
|
11
|
-
version = "1.2.
|
|
11
|
+
version = "1.2.1"
|
|
12
12
|
[dependencies.pigeonhole-text]
|
|
13
13
|
path = "../text"
|
|
14
|
-
version = "1.2.
|
|
14
|
+
version = "1.2.1"
|
|
15
15
|
[dependencies.pigeonhole-vector]
|
|
16
16
|
path = "../vector"
|
|
17
|
-
version = "1.2.
|
|
17
|
+
version = "1.2.1"
|
|
18
18
|
[dependencies.twox-hash]
|
|
19
19
|
default-features = false
|
|
20
20
|
features = ["std", "xxhash3_64", "xxhash3_128"]
|
|
@@ -37,4 +37,4 @@ name = "pigeonhole-memory"
|
|
|
37
37
|
readme = "README.md"
|
|
38
38
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
39
39
|
rust-version = "1.96"
|
|
40
|
-
version = "1.2.
|
|
40
|
+
version = "1.2.1"
|
data/vendor/memtable/Cargo.toml
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-format]
|
|
4
4
|
path = "../format"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[dependencies.pigeonhole-io]
|
|
7
7
|
path = "../io"
|
|
8
|
-
version = "=3.0.
|
|
8
|
+
version = "=3.0.1"
|
|
9
9
|
[lints.rust.unexpected_cfgs]
|
|
10
10
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
11
11
|
level = "warn"
|
|
@@ -20,5 +20,5 @@ name = "pigeonhole-memtable"
|
|
|
20
20
|
readme = "README.md"
|
|
21
21
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
22
22
|
rust-version = "1.96"
|
|
23
|
-
version = "3.0.
|
|
23
|
+
version = "3.0.1"
|
|
24
24
|
[target."cfg(loom)"]
|
data/vendor/pager/Cargo.toml
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-format]
|
|
4
4
|
path = "../format"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[dependencies.pigeonhole-io]
|
|
7
7
|
path = "../io"
|
|
8
|
-
version = "=3.0.
|
|
8
|
+
version = "=3.0.1"
|
|
9
9
|
[lints.rust.unexpected_cfgs]
|
|
10
10
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
11
11
|
level = "warn"
|
|
@@ -20,4 +20,4 @@ name = "pigeonhole-pager"
|
|
|
20
20
|
readme = "README.md"
|
|
21
21
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
22
22
|
rust-version = "1.96"
|
|
23
|
-
version = "3.0.
|
|
23
|
+
version = "3.0.1"
|
|
@@ -8,16 +8,16 @@ optional = true
|
|
|
8
8
|
version = "0.3"
|
|
9
9
|
[dependencies.pigeonhole-engine]
|
|
10
10
|
path = "../engine"
|
|
11
|
-
version = "=3.0.
|
|
11
|
+
version = "=3.0.1"
|
|
12
12
|
[dependencies.pigeonhole-format]
|
|
13
13
|
path = "../format"
|
|
14
|
-
version = "=3.0.
|
|
14
|
+
version = "=3.0.1"
|
|
15
15
|
[dependencies.pigeonhole-io]
|
|
16
16
|
path = "../io"
|
|
17
|
-
version = "=3.0.
|
|
17
|
+
version = "=3.0.1"
|
|
18
18
|
[dependencies.pigeonhole-shm]
|
|
19
19
|
path = "../shm"
|
|
20
|
-
version = "=3.0.
|
|
20
|
+
version = "=3.0.1"
|
|
21
21
|
[dependencies.smallvec]
|
|
22
22
|
version = "1"
|
|
23
23
|
[features]
|
|
@@ -41,4 +41,4 @@ name = "pigeonhole"
|
|
|
41
41
|
readme = "README.md"
|
|
42
42
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
43
43
|
rust-version = "1.96"
|
|
44
|
-
version = "1.2.
|
|
44
|
+
version = "1.2.1"
|
data/vendor/runtime/Cargo.toml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-io]
|
|
4
4
|
path = "../io"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[lints.rust.unexpected_cfgs]
|
|
7
7
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
8
8
|
level = "warn"
|
|
@@ -17,5 +17,5 @@ name = "pigeonhole-runtime"
|
|
|
17
17
|
readme = "README.md"
|
|
18
18
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
19
19
|
rust-version = "1.96"
|
|
20
|
-
version = "3.0.
|
|
20
|
+
version = "3.0.1"
|
|
21
21
|
[target."cfg(loom)"]
|
data/vendor/shm/Cargo.toml
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-format]
|
|
4
4
|
path = "../format"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[dependencies.pigeonhole-io]
|
|
7
7
|
path = "../io"
|
|
8
|
-
version = "=3.0.
|
|
8
|
+
version = "=3.0.1"
|
|
9
9
|
[lints.rust.unexpected_cfgs]
|
|
10
10
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
11
11
|
level = "warn"
|
|
@@ -20,5 +20,5 @@ name = "pigeonhole-shm"
|
|
|
20
20
|
readme = "README.md"
|
|
21
21
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
22
22
|
rust-version = "1.96"
|
|
23
|
-
version = "3.0.
|
|
23
|
+
version = "3.0.1"
|
|
24
24
|
[target."cfg(unix)"]
|
data/vendor/sst/Cargo.toml
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-cache]
|
|
4
4
|
path = "../cache"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[dependencies.pigeonhole-format]
|
|
7
7
|
path = "../format"
|
|
8
|
-
version = "=3.0.
|
|
8
|
+
version = "=3.0.1"
|
|
9
9
|
[dependencies.pigeonhole-io]
|
|
10
10
|
path = "../io"
|
|
11
|
-
version = "=3.0.
|
|
11
|
+
version = "=3.0.1"
|
|
12
12
|
[lints.rust.unexpected_cfgs]
|
|
13
13
|
check-cfg = ["cfg(loom)", "cfg(engine_loom)", "cfg(io_loom)", "cfg(pigeonhole_sim)"]
|
|
14
14
|
level = "warn"
|
|
@@ -23,4 +23,4 @@ name = "pigeonhole-sst"
|
|
|
23
23
|
readme = "README.md"
|
|
24
24
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
25
25
|
rust-version = "1.96"
|
|
26
|
-
version = "3.0.
|
|
26
|
+
version = "3.0.1"
|
data/vendor/text/Cargo.toml
CHANGED
|
@@ -8,7 +8,7 @@ version = "0.3"
|
|
|
8
8
|
version = "0.2.1"
|
|
9
9
|
[dependencies.pigeonhole]
|
|
10
10
|
path = "../pigeonhole"
|
|
11
|
-
version = "1.2.
|
|
11
|
+
version = "1.2.1"
|
|
12
12
|
[dependencies.unicode-normalization]
|
|
13
13
|
version = "0.1"
|
|
14
14
|
[dependencies.unicode-segmentation]
|
|
@@ -30,4 +30,4 @@ name = "pigeonhole-text"
|
|
|
30
30
|
readme = "README.md"
|
|
31
31
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
32
32
|
rust-version = "1.96"
|
|
33
|
-
version = "1.2.
|
|
33
|
+
version = "1.2.1"
|
data/vendor/vector/Cargo.toml
CHANGED
|
@@ -6,7 +6,7 @@ optional = true
|
|
|
6
6
|
version = "0.3"
|
|
7
7
|
[dependencies.pigeonhole]
|
|
8
8
|
path = "../pigeonhole"
|
|
9
|
-
version = "1.2.
|
|
9
|
+
version = "1.2.1"
|
|
10
10
|
[features]
|
|
11
11
|
__unstable-hooks = []
|
|
12
12
|
async = ["pigeonhole/async", "dep:futures-core"]
|
|
@@ -25,4 +25,4 @@ name = "pigeonhole-vector"
|
|
|
25
25
|
readme = "README.md"
|
|
26
26
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
27
27
|
rust-version = "1.96"
|
|
28
|
-
version = "1.2.
|
|
28
|
+
version = "1.2.1"
|
data/vendor/wal/Cargo.toml
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
[dependencies.pigeonhole-format]
|
|
4
4
|
path = "../format"
|
|
5
|
-
version = "=3.0.
|
|
5
|
+
version = "=3.0.1"
|
|
6
6
|
[dependencies.pigeonhole-io]
|
|
7
7
|
path = "../io"
|
|
8
|
-
version = "=3.0.
|
|
8
|
+
version = "=3.0.1"
|
|
9
9
|
[features]
|
|
10
10
|
sim-hooks = []
|
|
11
11
|
[lints.rust.unexpected_cfgs]
|
|
@@ -22,4 +22,4 @@ name = "pigeonhole-wal"
|
|
|
22
22
|
readme = "README.md"
|
|
23
23
|
repository = "https://github.com/CodingAnarchy/pigeonhole"
|
|
24
24
|
rust-version = "1.96"
|
|
25
|
-
version = "3.0.
|
|
25
|
+
version = "3.0.1"
|