pigeonhole-db 1.2.0 → 1.2.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1916e7254a651b9431e75d67857c0afb6f933becc317403b38ff664a236e1d62
4
- data.tar.gz: 7b5fa08c226941d0552337474ceac89173c4947c66d8447371b0cd46ff1a1edd
3
+ metadata.gz: 238b2e22b38a1c153434544859883301cb719345abdd044bd4840da231dcc511
4
+ data.tar.gz: 1f034bfee7cbe72b1399c8956c3d4614423218b11a565abb57e9022c2745146e
5
5
  SHA512:
6
- metadata.gz: 04763afe3f64873faf0b9afdde400ad855a0cf52547bccae1952eb52c397e9605823ef6ecbc88a8273a1ab8fc3193ab1c561175bb0485f4bb76ea42c29faf5b4
7
- data.tar.gz: 5b757ae5b9fe6744ac4131728a5dd5984d0cd176eacb8789deb3e132fead19dc9fc19e8d473c8a674677f282922f4b79844756f8701bc7eb91bdeb9a92041ea8
6
+ metadata.gz: 0f94a6c448d937ad9ac5aa769e90d5b13262378e8543b0750a6315ea0095123d704254b00542cea0730dabf5a159f78bff2708fe8fa43be01ac0631f5f155959
7
+ data.tar.gz: ba413a7a82fc2e8ed3203bc5b01ebb693ff410646a289c23d70211b501b0ed6355d9ce9d7960fe39067078c5a91a58f5bb2b114be60a441655ee64da16a6d16d
data/Cargo.lock CHANGED
@@ -385,7 +385,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
385
385
 
386
386
  [[package]]
387
387
  name = "pigeonhole"
388
- version = "1.2.0"
388
+ version = "1.2.2"
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.0"
401
+ version = "3.0.2"
402
402
  dependencies = [
403
403
  "pigeonhole-io",
404
404
  ]
405
405
 
406
406
  [[package]]
407
407
  name = "pigeonhole-compaction"
408
- version = "3.0.0"
408
+ version = "3.0.2"
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.0"
419
+ version = "3.0.2"
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.0"
438
+ version = "3.0.2"
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.0"
450
+ version = "3.0.2"
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.0"
461
+ version = "1.2.2"
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.0"
473
+ version = "3.0.2"
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.0"
481
+ version = "3.0.2"
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.0"
489
+ version = "1.2.2"
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.0"
502
+ version = "3.0.2"
503
503
  dependencies = [
504
504
  "pigeonhole-io",
505
505
  ]
506
506
 
507
507
  [[package]]
508
508
  name = "pigeonhole-shm"
509
- version = "3.0.0"
509
+ version = "3.0.2"
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.0"
517
+ version = "3.0.2"
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.0"
526
+ version = "1.2.2"
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.0"
537
+ version = "1.2.2"
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.0"
545
+ version = "3.0.2"
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.0"
8
+ version = "1.2.2"
9
9
  [dependencies.pigeonhole-memory]
10
10
  path = "vendor/memory"
11
- version = "1.2.0"
11
+ version = "1.2.2"
12
12
  [dependencies.pigeonhole-text]
13
13
  path = "vendor/text"
14
- version = "1.2.0"
14
+ version = "1.2.2"
15
15
  [dependencies.pigeonhole-vector]
16
16
  path = "vendor/vector"
17
- version = "1.2.0"
17
+ version = "1.2.2"
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.0"
42
+ version = "1.2.2"
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.2.0"
5
+ VERSION = "1.2.2"
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.20261113-2528-h0wvhg sitelibdir\=./.gem.20261113-2528-h0wvhg clean
27
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-18octs sitelibdir\=./.gem.20261115-2462-18octs 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.20261113-2528-h0wvhg sitelibdir\=./.gem.20261113-2528-h0wvhg
30
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-18octs sitelibdir\=./.gem.20261115-2462-18octs
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.20261113-2528-h0wvhg sitelibdir\=./.gem.20261113-2528-h0wvhg install
42
- /usr/bin/install -c -m 0755 IO_Event.so ./.gem.20261113-2528-h0wvhg
41
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-18octs sitelibdir\=./.gem.20261115-2462-18octs install
42
+ /usr/bin/install -c -m 0755 IO_Event.so ./.gem.20261115-2462-18octs
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.20261113-2528-h0wvhg sitelibdir\=./.gem.20261113-2528-h0wvhg clean
45
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-18octs sitelibdir\=./.gem.20261115-2462-18octs 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/ccov69At.o: in function `t':
301
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/cc6lGzox.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/cc0pjgNY.o: in function `t':
463
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccD2trny.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.20261113-2528-gcs5tz sitelibdir\=./.gem.20261113-2528-gcs5tz clean
19
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-kd2enz sitelibdir\=./.gem.20261115-2462-kd2enz 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.20261113-2528-gcs5tz sitelibdir\=./.gem.20261113-2528-gcs5tz
22
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-kd2enz sitelibdir\=./.gem.20261115-2462-kd2enz
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.20261113-2528-gcs5tz sitelibdir\=./.gem.20261113-2528-gcs5tz install
28
- /usr/bin/install -c -m 0755 parser.so ./.gem.20261113-2528-gcs5tz/json/ext
27
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-kd2enz sitelibdir\=./.gem.20261115-2462-kd2enz install
28
+ /usr/bin/install -c -m 0755 parser.so ./.gem.20261115-2462-kd2enz/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.20261113-2528-gcs5tz sitelibdir\=./.gem.20261113-2528-gcs5tz clean
31
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-kd2enz sitelibdir\=./.gem.20261115-2462-kd2enz 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/ccu9pFTx.o: in function `t':
146
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccfmoVYm.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/cc8uj4Gl.o: in function `t':
187
+ /usr/bin/x86_64-linux-gnu-ld.bfd: /tmp/ccbcOcBH.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,15 +6,15 @@ 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.20261113-2528-21cnrh sitelibdir\=./.gem.20261113-2528-21cnrh clean
9
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-7xfzeo sitelibdir\=./.gem.20261115-2462-7xfzeo 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.20261113-2528-21cnrh sitelibdir\=./.gem.20261113-2528-21cnrh
12
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-7xfzeo sitelibdir\=./.gem.20261115-2462-7xfzeo
13
13
  compiling api_node.c
14
- compiling extension.c
15
14
  compiling api_pack.c
16
- compiling ./../../src/diagnostic.c
15
+ compiling extension.c
17
16
  compiling ./../../src/encoding.c
17
+ compiling ./../../src/diagnostic.c
18
18
  compiling ./../../src/node.c
19
19
  compiling ./../../src/options.c
20
20
  compiling ./../../src/pack.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.20261113-2528-21cnrh sitelibdir\=./.gem.20261113-2528-21cnrh install
49
- /usr/bin/install -c -m 0755 prism.so ./.gem.20261113-2528-21cnrh/prism
48
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-7xfzeo sitelibdir\=./.gem.20261115-2462-7xfzeo install
49
+ /usr/bin/install -c -m 0755 prism.so ./.gem.20261115-2462-7xfzeo/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.20261113-2528-21cnrh sitelibdir\=./.gem.20261113-2528-21cnrh clean
52
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-7xfzeo sitelibdir\=./.gem.20261115-2462-7xfzeo 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.20261113-2528-ts289e sitelibdir\=./.gem.20261113-2528-ts289e clean
12
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-z3wm76 sitelibdir\=./.gem.20261115-2462-z3wm76 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.20261113-2528-ts289e sitelibdir\=./.gem.20261113-2528-ts289e
15
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-z3wm76 sitelibdir\=./.gem.20261115-2462-z3wm76
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.20261113-2528-ts289e sitelibdir\=./.gem.20261113-2528-ts289e install
38
- /usr/bin/install -c -m 0755 rbs_extension.so ./.gem.20261113-2528-ts289e
37
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-z3wm76 sitelibdir\=./.gem.20261115-2462-z3wm76 install
38
+ /usr/bin/install -c -m 0755 rbs_extension.so ./.gem.20261115-2462-z3wm76
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.20261113-2528-ts289e sitelibdir\=./.gem.20261113-2528-ts289e clean
41
+ make DESTDIR\= sitearchdir\=./.gem.20261115-2462-z3wm76 sitelibdir\=./.gem.20261115-2462-z3wm76 clean
@@ -2,7 +2,7 @@
2
2
 
3
3
  [dependencies.pigeonhole-io]
4
4
  path = "../io"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
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.0"
20
+ version = "3.0.2"
21
21
  [target."cfg(loom)"]
@@ -2,19 +2,19 @@
2
2
 
3
3
  [dependencies.pigeonhole-cache]
4
4
  path = "../cache"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
6
6
  [dependencies.pigeonhole-format]
7
7
  path = "../format"
8
- version = "=3.0.0"
8
+ version = "=3.0.2"
9
9
  [dependencies.pigeonhole-io]
10
10
  path = "../io"
11
- version = "=3.0.0"
11
+ version = "=3.0.2"
12
12
  [dependencies.pigeonhole-pager]
13
13
  path = "../pager"
14
- version = "=3.0.0"
14
+ version = "=3.0.2"
15
15
  [dependencies.pigeonhole-sst]
16
16
  path = "../sst"
17
- version = "=3.0.0"
17
+ version = "=3.0.2"
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.0"
32
+ version = "3.0.2"
@@ -4,34 +4,34 @@
4
4
  version = "1"
5
5
  [dependencies.pigeonhole-cache]
6
6
  path = "../cache"
7
- version = "=3.0.0"
7
+ version = "=3.0.2"
8
8
  [dependencies.pigeonhole-compaction]
9
9
  path = "../compaction"
10
- version = "=3.0.0"
10
+ version = "=3.0.2"
11
11
  [dependencies.pigeonhole-format]
12
12
  path = "../format"
13
- version = "=3.0.0"
13
+ version = "=3.0.2"
14
14
  [dependencies.pigeonhole-io]
15
15
  path = "../io"
16
- version = "=3.0.0"
16
+ version = "=3.0.2"
17
17
  [dependencies.pigeonhole-memtable]
18
18
  path = "../memtable"
19
- version = "=3.0.0"
19
+ version = "=3.0.2"
20
20
  [dependencies.pigeonhole-pager]
21
21
  path = "../pager"
22
- version = "=3.0.0"
22
+ version = "=3.0.2"
23
23
  [dependencies.pigeonhole-runtime]
24
24
  path = "../runtime"
25
- version = "=3.0.0"
25
+ version = "=3.0.2"
26
26
  [dependencies.pigeonhole-shm]
27
27
  path = "../shm"
28
- version = "=3.0.0"
28
+ version = "=3.0.2"
29
29
  [dependencies.pigeonhole-sst]
30
30
  path = "../sst"
31
- version = "=3.0.0"
31
+ version = "=3.0.2"
32
32
  [dependencies.pigeonhole-wal]
33
33
  path = "../wal"
34
- version = "=3.0.0"
34
+ version = "=3.0.2"
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.0"
53
+ version = "3.0.2"
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
- for r in packs.iter().flat_map(Raws::iter).filter(kept) {
2093
- let value = match blob_pointer(r.value) {
2094
- None => r.value.to_vec(),
2095
- // The blob GC horizon follows the oldest retained segment, not readers: a
2096
- // file the view no longer lists under a slow reader means retention
2097
- // passed it (S1). Any other failure, a checksum's included, is an error.
2098
- Some(ptr) if view.ssts.blob_reader(ptr.blob_file).is_none() => {
2099
- self.expired = Some(expiry(
2100
- "a blob value the feed was delivering is gone: retention passed the feed",
2101
- ));
2102
- return Ok(Emitted::Nothing);
2103
- }
2104
- Some(ptr) => match view.ssts.read_pointer(&ptr) {
2105
- Ok(cell) => cell.to_vec(),
2106
- // The commit is taken: going on would skip it, so the reader stops
2107
- // here for good.
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
- self.out.changes.push(Change {
2115
- table: r.table,
2116
- family: r.family,
2117
- kind: r.kind,
2118
- ts: r.ts.unwrap_or(ts),
2119
- row: r.row.to_vec(),
2120
- qualifier: r.qualifier.to_vec(),
2121
- value,
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!(version, TOKEN_VERSION | TOKEN_VERSION_ALL) || rest.len() < 16 + 4 + 8 + 8 {
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 == TOKEN_VERSION_ALL;
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'
@@ -37,4 +37,4 @@ name = "pigeonhole-format"
37
37
  readme = "README.md"
38
38
  repository = "https://github.com/CodingAnarchy/pigeonhole"
39
39
  rust-version = "1.96"
40
- version = "3.0.0"
40
+ version = "3.0.2"
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.0"
5
+ version = "=3.0.2"
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.0"
20
+ version = "3.0.2"
21
21
  [target."cfg(io_loom)".dependencies.loom]
22
22
  version = "0.7"
23
23
  [target."cfg(target_os = \"linux\")".dependencies.io-uring]
@@ -8,13 +8,13 @@ version = "0.3"
8
8
  version = "0.3"
9
9
  [dependencies.pigeonhole]
10
10
  path = "../pigeonhole"
11
- version = "1.2.0"
11
+ version = "1.2.2"
12
12
  [dependencies.pigeonhole-text]
13
13
  path = "../text"
14
- version = "1.2.0"
14
+ version = "1.2.2"
15
15
  [dependencies.pigeonhole-vector]
16
16
  path = "../vector"
17
- version = "1.2.0"
17
+ version = "1.2.2"
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.0"
40
+ version = "1.2.2"
@@ -2,10 +2,10 @@
2
2
 
3
3
  [dependencies.pigeonhole-format]
4
4
  path = "../format"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
6
6
  [dependencies.pigeonhole-io]
7
7
  path = "../io"
8
- version = "=3.0.0"
8
+ version = "=3.0.2"
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.0"
23
+ version = "3.0.2"
24
24
  [target."cfg(loom)"]
@@ -2,10 +2,10 @@
2
2
 
3
3
  [dependencies.pigeonhole-format]
4
4
  path = "../format"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
6
6
  [dependencies.pigeonhole-io]
7
7
  path = "../io"
8
- version = "=3.0.0"
8
+ version = "=3.0.2"
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.0"
23
+ version = "3.0.2"
@@ -8,16 +8,16 @@ optional = true
8
8
  version = "0.3"
9
9
  [dependencies.pigeonhole-engine]
10
10
  path = "../engine"
11
- version = "=3.0.0"
11
+ version = "=3.0.2"
12
12
  [dependencies.pigeonhole-format]
13
13
  path = "../format"
14
- version = "=3.0.0"
14
+ version = "=3.0.2"
15
15
  [dependencies.pigeonhole-io]
16
16
  path = "../io"
17
- version = "=3.0.0"
17
+ version = "=3.0.2"
18
18
  [dependencies.pigeonhole-shm]
19
19
  path = "../shm"
20
- version = "=3.0.0"
20
+ version = "=3.0.2"
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.0"
44
+ version = "1.2.2"
@@ -2,7 +2,7 @@
2
2
 
3
3
  [dependencies.pigeonhole-io]
4
4
  path = "../io"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
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.0"
20
+ version = "3.0.2"
21
21
  [target."cfg(loom)"]
@@ -2,10 +2,10 @@
2
2
 
3
3
  [dependencies.pigeonhole-format]
4
4
  path = "../format"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
6
6
  [dependencies.pigeonhole-io]
7
7
  path = "../io"
8
- version = "=3.0.0"
8
+ version = "=3.0.2"
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.0"
23
+ version = "3.0.2"
24
24
  [target."cfg(unix)"]
@@ -2,13 +2,13 @@
2
2
 
3
3
  [dependencies.pigeonhole-cache]
4
4
  path = "../cache"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
6
6
  [dependencies.pigeonhole-format]
7
7
  path = "../format"
8
- version = "=3.0.0"
8
+ version = "=3.0.2"
9
9
  [dependencies.pigeonhole-io]
10
10
  path = "../io"
11
- version = "=3.0.0"
11
+ version = "=3.0.2"
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.0"
26
+ version = "3.0.2"
@@ -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.0"
11
+ version = "1.2.2"
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.0"
33
+ version = "1.2.2"
@@ -6,7 +6,7 @@ optional = true
6
6
  version = "0.3"
7
7
  [dependencies.pigeonhole]
8
8
  path = "../pigeonhole"
9
- version = "1.2.0"
9
+ version = "1.2.2"
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.0"
28
+ version = "1.2.2"
@@ -2,10 +2,10 @@
2
2
 
3
3
  [dependencies.pigeonhole-format]
4
4
  path = "../format"
5
- version = "=3.0.0"
5
+ version = "=3.0.2"
6
6
  [dependencies.pigeonhole-io]
7
7
  path = "../io"
8
- version = "=3.0.0"
8
+ version = "=3.0.2"
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.0"
25
+ version = "3.0.2"
@@ -21,9 +21,15 @@ const CHUNK_FRAMES: u64 = 32;
21
21
  pub enum Step<'a> {
22
22
  /// A complete record.
23
23
  Record {
24
- /// Where the record starts (its first fragment).
24
+ /// Where to read again from to get this record: the cursor's position before it, the
25
+ /// end of the record before. That's the record's first fragment, or, when a skipped
26
+ /// frame tail (FORMAT §10.2) lies between, the position just before it, which a
27
+ /// cursor opened there steps over. A resume position (a feed token's hint) is then
28
+ /// never past where a recovery may cut the log before a record the cursor never read:
29
+ /// with the record lost to a power loss, the cut is the end of the record before the
30
+ /// tail, and the hint is too (#1937).
25
31
  start: Lsn,
26
- /// Just past the record: where the next one starts.
32
+ /// Just past the record: where the next one's `start` is.
27
33
  end: Lsn,
28
34
  /// The `feed_session` of the segment holding it (FORMAT §10.2): 0 for a segment a
29
35
  /// session without the feed wrote.
@@ -407,7 +413,8 @@ impl FeedCursor {
407
413
  let len = cur.dec.record().len();
408
414
  let end = offset + FrameEncoder::new(epoch, offset).encoded_len(len) as u64;
409
415
  cur.last_end = end;
410
- let start = Lsn::new(epoch, offset as u32);
416
+ // The resume position, not the fragment's offset: see `Step::Record`.
417
+ let start = Lsn::new(epoch, last_end as u32);
411
418
  let session = cur.session;
412
419
  let cur = self.cur.as_ref().expect("checked above");
413
420
  let record = WalRecord::decode(cur.dec.record())?;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pigeonhole-db
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Tanous