Skip to content

CBL-8160 : Restore the close database timeout waiting for active processes#485

Merged
pasin merged 2 commits into
release/3.3from
CBL-8160-Restore-Timeout
May 19, 2026
Merged

CBL-8160 : Restore the close database timeout waiting for active processes#485
pasin merged 2 commits into
release/3.3from
CBL-8160-Restore-Timeout

Conversation

@pasin
Copy link
Copy Markdown
Collaborator

@pasin pasin commented May 18, 2026

  • The previous fix reduce the timeout waiting for the active processes to 10 seconds which is too low (e.g. WebSocket close timeout is 9 seconds). Restore the timeout back to 30 seconds.

  • Restore the previous logic that will try to close the database anyway even though the active processes are not all finished.

  • Noted that the original code before the fix has a bug that the dabase close only retries once after getting BUSY error but wait for total 30 seconds then timeout after.

pasin added 2 commits May 18, 2026 14:16
…esses

* The previous fix reduce the timeout waiting for the active processes to 10 seconds which is too low (e.g. WebSocket close timeout is 9 seconds). Restore the timeout back to 30 seconds.

* Restore the previous logic that will try to close the database anyway even though the active processes are not all finished.

* Noted that the original code before the fix has a bug that the dabase close only retries once after getting BUSY error but wait for total 30 seconds then timeout after.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

This is a release branch and commits are restricted.

Please confirm this PR is one of the following:

  • A response to a customer ask
  • A change per our security policy
  • A non-functional change (i.e. changes needed for building an older version)
  • A change that has been granted an exception (please comment)

@pasin
Copy link
Copy Markdown
Collaborator Author

pasin commented May 18, 2026

Fixed a test blocker reported by QE.

@pasin pasin requested review from borrrden and jianminzhao May 18, 2026 21:19
@pasin pasin merged commit 1661e2e into release/3.3 May 19, 2026
1 check passed
@pasin pasin deleted the CBL-8160-Restore-Timeout branch May 19, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants