Skip to content

There is a bug in pool when connection cannot be established at pool start #478

Description

@langpavel

Describe the bug

There is a bug in pool when connection cannot be established at pool start.
This bug will bite when you wish close the connection

To Reproduce

Steps to reproduce the behavior:

  1. Start your deno server
  2. Start your pool
  3. Try to connect
  4. Exception happen (good)
  5. Start database
  6. Try to connect
  7. Do insert (OK, commited)
  8. Release pool client, then
    8.5. Exception happens.
  9. but query succeeds

Expected behavior

No exception

This bug is not observed when database connection is ready at start

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions