yiisoft / yiisoft/yii2-queue

What would it be if auto incremented id reach it's max value? (Db driver)

Open
#186 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:under discussion
Dominant language
PHP
Stars
1.1k
Forks
285
Avg merge
5d 3h
Merged PRs (30d)
2

Description

Hello!
I've found that my queue is increasing very rapidly (based on Db driver), and that lead me on a thought - how would queue behave in that case?

If an exception would be thrown, is there any recommendations?

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 by reviewing the DB driver entry point and how its queue records use auto-incremented IDs. Determine what happens when the ID reaches its maximum value and what recommendation should be given if an exception occurs. Done means the behavior and guidance are documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, databases
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.