Skip to content

pool running out (GetTimeout) on nightly #25

@mikedilger

Description

@mikedilger

I'm getting some very strange behavior. My code works fine on a particular commit (pool used thousands of times, reclaims resources as connections fall out of scope). Then when I make the minimal changes necessary to upgrade to rust nightly (from 6-14 to 8-10) the (nearly) same code runs out of database connections quickly, even if I jack up the number of connections from my default 5 to any larger number, it will eventually consume them all.

The only changes I made to cause this to happen are:

  1. upgraded rust from 6-14 to 8-10 (also tried tonight's nightly)
  2. upgraded serde, serde_macros, serde_json (from 7 to 8)
  3. upgraded regex_macros (0.1.37 to 0.1.38)
  4. upgraded maud_macros (some commit to 0.9.2)
  5. upgraded bincode (0.5 to 0.6)
  6. upgraded handlebars (0.17 to 0.20)
  7. minor method renames related to (2) above
  8. a manual serialize/deserialize rewrite related to (2) above [that should not be in use]

Notice, no upgrades to r2d2, postgres, or r2d2-postgres

I've spent about 6 hours on this today. Tomorrow I'll see if a simple example exhibits the same behavior, then try bisecting rust-nightly versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions