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: wrangler 3.86.0 when using d1 triggers kj/table.c++:103: warning: detected excessive collisions in hash table #7211

Open
stuartin opened this issue Nov 9, 2024 · 0 comments
Labels
bug Something that isn't working

Comments

@stuartin
Copy link

stuartin commented Nov 9, 2024

Which Cloudflare product(s) does this pertain to?

D1, Workers for Platforms, Miniflare

What version(s) of the tool(s) are you using?

3.86.0 [wrangler]

What version of Node are you using?

20.18.0

What operating system and version are you using?

Windows 10

Describe the Bug

Observed behavior

When attempting to seed a large amount of data to a local d1 database I receive the below error:
This only occurs when using the latest version of wrangler 0.86.0 which I noticed also bumped the miniflare dependency.

kj/table.c++:103: warning: detected excessive collisions in hash table; is your hash function OK?; entryCount = 42; collisionCount = 820; kj::getStackTrace() = 7ff730ce0fb2 7ff7314f162c 7ff7314ed698 7ff7314f1294 7ff730da4a5e 7ff730aa3a00 7ff730aa3763 7ff730aa355a 7ff732394579 7ff792381c73 2f800000068 2f800a57494 9 2f800000790 2f801493b38 2f801492528 2f801493b38 2f800ae2ee8 2f800000068 2f801280e20 2f800ae0700 2f800a8f818 0 2f8012ab4a8 2f8012ab56c 438b7fb737 7ff7322f392f 7ff7322f392f 7ff7323c8ff6 7ff7322f392f

Expected behavior

This previously worked without any problems using wrangler 0.85.0. The seed operation with any amount of data should succeed and not trigger any errors.

Steps to reproduce

ERROR

  • Update package.json to use "wrangler": "3.85.0"
  • pnpm install
  • pnpm db

NO ERROR

Please provide a link to a minimal reproduction

https://github.com/stuartin/wrangler-insert-bug

Please provide any relevant error logs

No response

@stuartin stuartin added the bug Something that isn't working label Nov 9, 2024
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Nov 9, 2024
@andyjessop andyjessop removed this from workers-sdk Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that isn't working
Projects
None yet
Development

No branches or pull requests

1 participant