Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: 'tokio-runtime-worker' panicked at foyer-storage/src/io_buffer_pool.rs #723

Closed
kemingy opened this issue Sep 20, 2024 · 0 comments · Fixed by #724
Closed

bug: 'tokio-runtime-worker' panicked at foyer-storage/src/io_buffer_pool.rs #723

kemingy opened this issue Sep 20, 2024 · 0 comments · Fixed by #724
Assignees
Labels
bug Something isn't working p0 Priority class 0
Milestone

Comments

@kemingy
Copy link

kemingy commented Sep 20, 2024

Error messages:

thread 'tokio-runtime-worker' panicked at /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/foyer-storage-0.10.2/src/io_buffer_pool.rs:58:9:
assertion `left == right` failed
  left: 2797568
 right: 2796202

Config:

HybridCacheBuilder::new()
      .memory(4096)
      .storage()
      .with_device_config(
          DirectFsDeviceOptionsBuilder::new(cache_path.clone())
              .with_capacity(4096 * 1024 * 1024)
              .build(),
      )
      .with_admission_picker(Arc::new(RateLimitPicker::new(
          4096 * 1024 * 1024,
      )))
      .with_flushers(6)
      .with_flush(true)
      .with_reclaimers(6)
      .with_clean_region_threshold(8)
      .build()
      .await
      .expect("failed to create cache"),
@MrCroxx MrCroxx self-assigned this Sep 20, 2024
@MrCroxx MrCroxx added the bug Something isn't working label Sep 20, 2024
@MrCroxx MrCroxx added the p1 Priority class 1 label Sep 20, 2024
@MrCroxx MrCroxx added this to the v0.11 milestone Sep 20, 2024
@MrCroxx MrCroxx added p0 Priority class 0 and removed p1 Priority class 1 labels Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p0 Priority class 0
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants