temporalio / temporalio/sdk-java

Clarify `UnableToAcquireLockException`

Open
#2,359 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

Is your feature request related to a problem? Please describe.
This Slack thread: a user had a question about this Exception, and they asked Kapa, and Kapa gave a wrong answer (which Tiho corrected 🙏 ). I suspect Kapa could have given better direction if this exception message contained the info that Tiho corrected with.

Describe the solution you'd like
I ported Tiho's response over to the code and submitted a PR

Describe alternatives you've considered
I recognize that the message I'm putting here is less general than the one that was there previously. If any of it is incorrect in more general scenarios, please correct me 👍 👍

Additional context
None

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the UnableToAcquireLockException implementation and review the linked pull request for the proposed wording and the context from Tiho's response. Done means the exception message clearly conveys the corrected guidance without making the message too specific for broader scenarios.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.