openresty / openresty/lua-resty-lock
cannot convert 'table' to 'int'
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 323
- Forks
- 81
- Avg merge
- 7h 41m
- Merged PRs (30d)
- 2
Description
hi, @agentzh ~ recently. Some of my ut tests reported the errors below
cannot convert 'table' to 'int' in lock.lua:139 by accidentally. Whta's the probable reason could cause this? There is no guarantee that the problem can be reproduced definitely
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lock.lua:139 and inspect the value being converted when the intermittent error occurs. Review the existing lock implementation and tests for how that value is produced; done means identifying a plausible cause and, if possible, a reproducible test case despite the report's lack of reliable reproduction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100