pigeonhole-db 1.3.0 → 1.3.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.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/Cargo.lock +16 -16
  3. data/Cargo.toml +5 -5
  4. data/lib/pigeonhole/version.rb +1 -1
  5. data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/io-event-1.22.3/gem_make.out +5 -5
  6. data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/io-event-1.22.3/mkmf.log +2 -2
  7. data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-3.1.0/gem_make.out +5 -5
  8. data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/json-3.1.0/mkmf.log +2 -2
  9. data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.9.0/gem_make.out +9 -9
  10. data/vendor/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/rbs-4.2.0/gem_make.out +5 -5
  11. data/vendor/cache/Cargo.toml +2 -2
  12. data/vendor/compaction/Cargo.toml +6 -6
  13. data/vendor/engine/Cargo.toml +11 -11
  14. data/vendor/engine/src/engine/hooks.rs +19 -0
  15. data/vendor/engine/src/engine.rs +28 -7
  16. data/vendor/engine/src/feed_reader/read_ahead.rs +32 -5
  17. data/vendor/engine/src/feed_reader.rs +125 -6
  18. data/vendor/engine/src/health.rs +2 -1
  19. data/vendor/engine/src/lib.rs +2 -2
  20. data/vendor/engine/src/maintenance.rs +55 -4
  21. data/vendor/engine/src/manifest.rs +84 -1
  22. data/vendor/engine/src/options.rs +8 -0
  23. data/vendor/engine/src/punch.rs +102 -13
  24. data/vendor/engine/src/shard.rs +5 -0
  25. data/vendor/format/Cargo.toml +1 -1
  26. data/vendor/io/Cargo.toml +2 -2
  27. data/vendor/memory/Cargo.toml +4 -4
  28. data/vendor/memtable/Cargo.toml +3 -3
  29. data/vendor/pager/Cargo.toml +3 -3
  30. data/vendor/pigeonhole/Cargo.toml +5 -5
  31. data/vendor/pigeonhole/src/metrics.rs +3 -2
  32. data/vendor/pigeonhole/src/options.rs +12 -0
  33. data/vendor/pigeonhole/src/recovery.rs +2 -1
  34. data/vendor/runtime/Cargo.toml +2 -2
  35. data/vendor/shm/Cargo.toml +3 -3
  36. data/vendor/sst/Cargo.toml +4 -4
  37. data/vendor/text/Cargo.toml +2 -2
  38. data/vendor/text/src/index.rs +40 -5
  39. data/vendor/vector/Cargo.toml +2 -2
  40. data/vendor/wal/Cargo.toml +3 -3
  41. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bee2cda1da05ede1bde5d13fb76a93a68f593c747dbd52efb7fbe0011451e3c
4
- data.tar.gz: 450aa70fa5d3fb8b984c41f2cb82f2462daba4ae06b3801ed41200edd95e6162
3
+ metadata.gz: 8a030eb1e97b0dad8087851ee81de9cde68b6e4e4eb03ac603077b9e33145252
4
+ data.tar.gz: bd3d221711f6801ae27de604a82c0f09c8a13ad02d957cbd2bc1d4019f2d4a29
5
5
  SHA512:
6
- metadata.gz: 8b044f6387c0ac2a0349d8fab6b58e06cdb1cc1f7ca51536311fe3aa92871d4cf2efda0ea1e2a2593893b1c8dc14b23f35c3ce4ea7e9ebd9c152d95a7c53133d
7
- data.tar.gz: 3d2c95890f81d1674a5b3aaa08085b570db277103127a40b27464c392cc26b98d6aa762c1d49a3f67e3e85d4cc4497df28bf026c93a06e37f9ecc1e1a8076df6
6
+ metadata.gz: 772d933fa940e95805ae011ee12bb123f494e048444f8d56ee2a38b3e3a4c94595ffac3c2a13a35573c4032b626907b5ce6e1629b0ff79f8793d1c4fde3585fa
7
+ data.tar.gz: d76763e2f10efc0751009fa6c52338e4f9b85bc4cf8b7b311c2a8b3dc0de24d08154c283e6dd8bd66f4fee00dfdf81d880a41e8e4fe1832e63a5e24918ab36c7
data/Cargo.lock CHANGED
@@ -385,7 +385,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
385
385
 
386
386
  [[package]]
387
387
  name = "pigeonhole"
388
- version = "1.3.0"
388
+ version = "1.3.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.1.0"
401
+ version = "3.1.1"
402
402
  dependencies = [
403
403
  "pigeonhole-io",
404
404
  ]
405
405
 
406
406
  [[package]]
407
407
  name = "pigeonhole-compaction"
408
- version = "3.1.0"
408
+ version = "3.1.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.1.0"
419
+ version = "3.1.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.1.0"
438
+ version = "3.1.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.1.0"
450
+ version = "3.1.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.3.0"
461
+ version = "1.3.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.1.0"
473
+ version = "3.1.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.1.0"
481
+ version = "3.1.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.3.0"
489
+ version = "1.3.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.1.0"
502
+ version = "3.1.1"
503
503
  dependencies = [
504
504
  "pigeonhole-io",
505
505
  ]
506
506
 
507
507
  [[package]]
508
508
  name = "pigeonhole-shm"
509
- version = "3.1.0"
509
+ version = "3.1.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.1.0"
517
+ version = "3.1.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.3.0"
526
+ version = "1.3.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.3.0"
537
+ version = "1.3.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.1.0"
545
+ version = "3.1.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.3.0"
8
+ version = "1.3.1"
9
9
  [dependencies.pigeonhole-memory]
10
10
  path = "vendor/memory"
11
- version = "1.3.0"
11
+ version = "1.3.1"
12
12
  [dependencies.pigeonhole-text]
13
13
  path = "vendor/text"
14
- version = "1.3.0"
14
+ version = "1.3.1"
15
15
  [dependencies.pigeonhole-vector]
16
16
  path = "vendor/vector"
17
- version = "1.3.0"
17
+ version = "1.3.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.3.0"
42
+ version = "1.3.1"
43
43
  [profile.release]
44
44
  codegen-units = 1
45
45
  lto = "thin"
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Pigeonhole
4
4
  # The gem's version: the `pigeonhole` crate's.
5
- VERSION = "1.3.0"
5
+ VERSION = "1.3.1"
6
6
  end
@@ -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.20261123-2237-62wzpz sitelibdir\=./.gem.20261123-2237-62wzpz clean
27
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-6402e6 sitelibdir\=./.gem.20261126-2217-6402e6 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.20261123-2237-62wzpz sitelibdir\=./.gem.20261123-2237-62wzpz
30
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-6402e6 sitelibdir\=./.gem.20261126-2217-6402e6
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.20261123-2237-62wzpz sitelibdir\=./.gem.20261123-2237-62wzpz install
42
- /usr/bin/install -c -m 0755 IO_Event.so ./.gem.20261123-2237-62wzpz
41
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-6402e6 sitelibdir\=./.gem.20261126-2217-6402e6 install
42
+ /usr/bin/install -c -m 0755 IO_Event.so ./.gem.20261126-2217-6402e6
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.20261123-2237-62wzpz sitelibdir\=./.gem.20261123-2237-62wzpz clean
45
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-6402e6 sitelibdir\=./.gem.20261126-2217-6402e6 clean
@@ -298,7 +298,7 @@ checked program was:
298
298
  /* end */
299
299
 
300
300
  LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.13/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.13/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.13/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -lruby -lm -lpthread -lc"
301
- /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccX3bcgm.o: in function `t':
301
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccW04lE8.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.13/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.13/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.13/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -lruby -lm -lpthread -lc"
463
- /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccN8mUdF.o: in function `t':
463
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccyjbiox.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.20261123-2237-jt0qbv sitelibdir\=./.gem.20261123-2237-jt0qbv clean
19
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-13x7qg sitelibdir\=./.gem.20261126-2217-13x7qg 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.20261123-2237-jt0qbv sitelibdir\=./.gem.20261123-2237-jt0qbv
22
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-13x7qg sitelibdir\=./.gem.20261126-2217-13x7qg
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.20261123-2237-jt0qbv sitelibdir\=./.gem.20261123-2237-jt0qbv install
28
- /usr/bin/install -c -m 0755 parser.so ./.gem.20261123-2237-jt0qbv/json/ext
27
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-13x7qg sitelibdir\=./.gem.20261126-2217-13x7qg install
28
+ /usr/bin/install -c -m 0755 parser.so ./.gem.20261126-2217-13x7qg/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.20261123-2237-jt0qbv sitelibdir\=./.gem.20261123-2237-jt0qbv clean
31
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-13x7qg sitelibdir\=./.gem.20261126-2217-13x7qg clean
@@ -143,7 +143,7 @@ checked program was:
143
143
  /* end */
144
144
 
145
145
  LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.13/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.13/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.13/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -lruby -lm -lpthread -lc"
146
- /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccmwE4OB.o: in function `t':
146
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/cc1ZlOdU.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.13/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.13/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.13/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.13/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.13/x64/lib -lruby -lm -lpthread -lc"
187
- /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccj28AQk.o: in function `t':
187
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccNjtPkZ.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,14 +6,14 @@ 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.20261123-2237-f82o3w sitelibdir\=./.gem.20261123-2237-f82o3w clean
9
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m3da sitelibdir\=./.gem.20261126-2217-77m3da 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.20261123-2237-f82o3w sitelibdir\=./.gem.20261123-2237-f82o3w
13
- compiling api_node.c
14
- compiling api_pack.c
12
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m3da sitelibdir\=./.gem.20261126-2217-77m3da
15
13
  compiling extension.c
14
+ compiling api_pack.c
16
15
  compiling ./../../src/diagnostic.c
16
+ compiling api_node.c
17
17
  compiling ./../../src/encoding.c
18
18
  compiling ./../../src/node.c
19
19
  compiling ./../../src/options.c
@@ -30,8 +30,6 @@ compiling ./../../src/util/pm_constant_pool.c
30
30
  compiling ./../../src/util/pm_integer.c
31
31
  compiling ./../../src/util/pm_list.c
32
32
  compiling ./../../src/util/pm_memchr.c
33
- compiling ./../../src/util/pm_newline_list.c
34
- compiling ./../../src/util/pm_string.c
35
33
  ./../../src/util/pm_memchr.c: In function ‘pm_memchr’:
36
34
  ./../../src/util/pm_memchr.c:31:16: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
37
35
  31 | return memchr(memory, character, number);
@@ -40,13 +38,15 @@ At top level:
40
38
  cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics
41
39
  cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics
42
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
+ 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.20261123-2237-f82o3w sitelibdir\=./.gem.20261123-2237-f82o3w install
49
- /usr/bin/install -c -m 0755 prism.so ./.gem.20261123-2237-f82o3w/prism
48
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m3da sitelibdir\=./.gem.20261126-2217-77m3da install
49
+ /usr/bin/install -c -m 0755 prism.so ./.gem.20261126-2217-77m3da/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.20261123-2237-f82o3w sitelibdir\=./.gem.20261123-2237-f82o3w clean
52
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m3da sitelibdir\=./.gem.20261126-2217-77m3da 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.20261123-2237-1yx4ob sitelibdir\=./.gem.20261123-2237-1yx4ob clean
12
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m03p sitelibdir\=./.gem.20261126-2217-77m03p 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.20261123-2237-1yx4ob sitelibdir\=./.gem.20261123-2237-1yx4ob
15
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m03p sitelibdir\=./.gem.20261126-2217-77m03p
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.20261123-2237-1yx4ob sitelibdir\=./.gem.20261123-2237-1yx4ob install
38
- /usr/bin/install -c -m 0755 rbs_extension.so ./.gem.20261123-2237-1yx4ob
37
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m03p sitelibdir\=./.gem.20261126-2217-77m03p install
38
+ /usr/bin/install -c -m 0755 rbs_extension.so ./.gem.20261126-2217-77m03p
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.20261123-2237-1yx4ob sitelibdir\=./.gem.20261123-2237-1yx4ob clean
41
+ make DESTDIR\= sitearchdir\=./.gem.20261126-2217-77m03p sitelibdir\=./.gem.20261126-2217-77m03p clean
@@ -2,7 +2,7 @@
2
2
 
3
3
  [dependencies.pigeonhole-io]
4
4
  path = "../io"
5
- version = "=3.1.0"
5
+ version = "=3.1.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.1.0"
20
+ version = "3.1.1"
21
21
  [target."cfg(loom)"]
@@ -2,19 +2,19 @@
2
2
 
3
3
  [dependencies.pigeonhole-cache]
4
4
  path = "../cache"
5
- version = "=3.1.0"
5
+ version = "=3.1.1"
6
6
  [dependencies.pigeonhole-format]
7
7
  path = "../format"
8
- version = "=3.1.0"
8
+ version = "=3.1.1"
9
9
  [dependencies.pigeonhole-io]
10
10
  path = "../io"
11
- version = "=3.1.0"
11
+ version = "=3.1.1"
12
12
  [dependencies.pigeonhole-pager]
13
13
  path = "../pager"
14
- version = "=3.1.0"
14
+ version = "=3.1.1"
15
15
  [dependencies.pigeonhole-sst]
16
16
  path = "../sst"
17
- version = "=3.1.0"
17
+ version = "=3.1.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.1.0"
32
+ version = "3.1.1"
@@ -4,34 +4,34 @@
4
4
  version = "1"
5
5
  [dependencies.pigeonhole-cache]
6
6
  path = "../cache"
7
- version = "=3.1.0"
7
+ version = "=3.1.1"
8
8
  [dependencies.pigeonhole-compaction]
9
9
  path = "../compaction"
10
- version = "=3.1.0"
10
+ version = "=3.1.1"
11
11
  [dependencies.pigeonhole-format]
12
12
  path = "../format"
13
- version = "=3.1.0"
13
+ version = "=3.1.1"
14
14
  [dependencies.pigeonhole-io]
15
15
  path = "../io"
16
- version = "=3.1.0"
16
+ version = "=3.1.1"
17
17
  [dependencies.pigeonhole-memtable]
18
18
  path = "../memtable"
19
- version = "=3.1.0"
19
+ version = "=3.1.1"
20
20
  [dependencies.pigeonhole-pager]
21
21
  path = "../pager"
22
- version = "=3.1.0"
22
+ version = "=3.1.1"
23
23
  [dependencies.pigeonhole-runtime]
24
24
  path = "../runtime"
25
- version = "=3.1.0"
25
+ version = "=3.1.1"
26
26
  [dependencies.pigeonhole-shm]
27
27
  path = "../shm"
28
- version = "=3.1.0"
28
+ version = "=3.1.1"
29
29
  [dependencies.pigeonhole-sst]
30
30
  path = "../sst"
31
- version = "=3.1.0"
31
+ version = "=3.1.1"
32
32
  [dependencies.pigeonhole-wal]
33
33
  path = "../wal"
34
- version = "=3.1.0"
34
+ version = "=3.1.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.1.0"
53
+ version = "3.1.1"
54
54
  [target."cfg(engine_loom)".dependencies.loom]
55
55
  version = "0.7"
56
56
  [target."cfg(unix)"]
@@ -59,6 +59,9 @@ pub enum HookSite {
59
59
  /// In the next `shrink` round, after it has read the catalog and before it relocates
60
60
  /// anything: where a compaction or `drop_table` can commit under it.
61
61
  ShrinkRelocates,
62
+ /// In the next `shrink` round, right after it decided what pins retired space and read
63
+ /// its plan: where a test releases a view that pinned that round (#2199).
64
+ ShrinkPlanned,
62
65
  /// On the thread that `Engine::wait_failed` woke with a failure, before it returns:
63
66
  /// where the recovery supervisor has not marked the failure yet, and a `close()` can
64
67
  /// reach the failed engine first (D265).
@@ -178,6 +181,10 @@ pub enum Fault {
178
181
  /// sends them: a participant's turn between a share's decision and its apply there
179
182
  /// (D314's ordering tests).
180
183
  HoldDecides = 12,
184
+ /// Panics the next manifest commit's `begin`, on whichever thread runs it (a shard's
185
+ /// pump or an application thread), with the writer's exclusion and the writer held
186
+ /// (#2129).
187
+ NextManifestBeginPanic = 13,
181
188
  }
182
189
 
183
190
  /// The faults on, a bit per `Fault` (`Hooks::faults`).
@@ -518,6 +525,10 @@ pub struct ManifestInfo {
518
525
  pub clean: bool,
519
526
  }
520
527
 
528
+ /// A view [`Engine::hold_view`] holds until it drops (test hook).
529
+ #[derive(Debug)]
530
+ pub struct HeldView(#[allow(dead_code)] Arc<crate::snapshot::View>);
531
+
521
532
  impl Engine {
522
533
  /// Runs `f` once, the next time the engine reaches `site` (test hook): see
523
534
  /// [`HookSite`] for where each runs. Replaces a callback set there that has not run.
@@ -1800,6 +1811,14 @@ impl Engine {
1800
1811
  self.inner.shared.close.pending()
1801
1812
  }
1802
1813
 
1814
+ /// Holds the current view, with no seqno pin, until the guard drops (test hook: a view a
1815
+ /// thread holds for a moment, as a shard's maintenance does, #2199). It keeps what a
1816
+ /// later commit retires from being reclaimed, as any in-process view does.
1817
+ #[doc(hidden)]
1818
+ pub fn hold_view(&self) -> HeldView {
1819
+ HeldView(self.inner.shared.view.load_full())
1820
+ }
1821
+
1803
1822
  /// Whether the final close has run (test hook: application-owned shards finish the close
1804
1823
  /// as they are driven).
1805
1824
  #[doc(hidden)]
@@ -222,7 +222,8 @@ pub struct Metrics {
222
222
  pub file_punched_bytes: u64,
223
223
  /// Punch passes started, and punches that failed. A filesystem that cannot punch fails
224
224
  /// once, and punching stops until the next open; any other failure ends its pass, and the
225
- /// next waits for new free space.
225
+ /// next waits for new free space, or for the first manifest commit (a flush, compaction or
226
+ /// catalog change, say) 10 s after the failure.
226
227
  pub file_punch_passes: (u64, u64),
227
228
  /// File reads made synchronously inside async reads: a separated value too large to
228
229
  /// cache (D196, #398), a block the cache could not keep, or a read that missed too
@@ -1943,7 +1944,16 @@ impl Engine {
1943
1944
  presize.push((wal.spares(), opts.retain_segments));
1944
1945
  }
1945
1946
  let _ = shared.metrics[i].wal.set(wal.counters());
1946
- note_feed_marks(&shared, i, &wal);
1947
+ // A feed's start on a stream holding a share in doubt begins at or before
1948
+ // it (#2189).
1949
+ let held = in_doubt.iter().any(|(s, ..)| *s == stream).then(|| {
1950
+ catalog
1951
+ .checkpoints
1952
+ .get(&stream)
1953
+ .copied()
1954
+ .unwrap_or_default()
1955
+ });
1956
+ note_feed_marks(&shared, i, &wal, held);
1947
1957
  states[i].set_wal(Box::new(wal));
1948
1958
  have_wal[i] = true;
1949
1959
  }
@@ -2011,7 +2021,7 @@ impl Engine {
2011
2021
  presize.push((wal.spares(), opts.retain_segments));
2012
2022
  }
2013
2023
  let _ = shared.metrics[i].wal.set(wal.counters());
2014
- note_feed_marks(&shared, i, &wal);
2024
+ note_feed_marks(&shared, i, &wal, None);
2015
2025
  states[i].set_wal(Box::new(wal));
2016
2026
  states[i].set_recovery_state(
2017
2027
  catalog.flushed.iter().map(|(k, v)| (*k, *v)).collect(),
@@ -2043,7 +2053,7 @@ impl Engine {
2043
2053
  presize.push((wal.spares(), wal_opts.retain_segments));
2044
2054
  }
2045
2055
  let _ = shared.metrics[stream.0 as usize].wal.set(wal.counters());
2046
- note_feed_marks(&shared, stream.0 as usize, &wal);
2056
+ note_feed_marks(&shared, stream.0 as usize, &wal, None);
2047
2057
  states[stream.0 as usize].set_wal(Box::new(wal));
2048
2058
  }
2049
2059
  // Before any shard takes a write (D157 amendment, ICR 0130).
@@ -5084,14 +5094,25 @@ fn preallocate_wal(streams: &[(SpareSegments, u32)], pin_bytes: u64) -> Result<(
5084
5094
  })
5085
5095
  }
5086
5096
 
5087
- /// Registers a stream's feed marks with the change feed (D310), when it is on.
5088
- fn note_feed_marks(shared: &Shared, stream: usize, wal: &WalStream) {
5097
+ /// Registers a stream's feed marks with the change feed (D310), when it is on. `in_doubt`:
5098
+ /// the checkpoint the stream recovered from, when it holds a share in doubt (D329).
5099
+ fn note_feed_marks(shared: &Shared, stream: usize, wal: &WalStream, in_doubt: Option<Lsn>) {
5089
5100
  if let (Some(feed), Some(marks)) = (&shared.feed, wal.feed_marks()) {
5090
5101
  // The start of the stream's first segment of this open: every record before it has
5091
5102
  // a key below the allocator's start (the reader's start bound, D310 PR 3). For a new
5092
5103
  // stream that is the start of its only segment, so nothing counts as dropped.
5104
+ //
5105
+ // Not with a share in doubt from an earlier session (#2189): its PREPARE is before
5106
+ // that segment, and its key, its Decision's apply seqno, will be above the start. A
5107
+ // start past it would hold no share when the Decision comes, and expire as a gap.
5108
+ // From the checkpoint the stream recovered from instead: every record before it was
5109
+ // applied in an earlier session, so its key is below the start too, and the share is
5110
+ // after it (the checkpoint never passes a record still needed, simp724 on #2189). The
5111
+ // share is logged on its shard again, so no checkpoint of this open passes it either
5112
+ // until it's decided, as in the session that prepared it.
5093
5113
  let key = shared.shm.next_seqno().saturating_sub(1);
5094
- feed.note_checkpoint(stream, Lsn::new(marks.head(), 0), key);
5114
+ let at = in_doubt.unwrap_or(Lsn::new(marks.head(), 0));
5115
+ feed.note_checkpoint(stream, at, key);
5095
5116
  // Published in shared memory too, for change feeds in any process (layout version
5096
5117
  // 8, D310 PR 4). Before the shard runs, so the first publication races no store.
5097
5118
  marks.set_mirror(Box::new(ShmMarks {