-
Notifications
You must be signed in to change notification settings - Fork 0
feat(persistence): Enforce one DrillItem per Challenge; handle concurrency and race conditions #40
Copy link
Copy link
Open
Labels
area:persistenceEntities, DAOs, JPA/Hibernate mappings, and database concerns.Entities, DAOs, JPA/Hibernate mappings, and database concerns.enhancementNew feature or requestNew feature or requestpost-mvpUse for all issues/PRs that do not belong to the MVP release. Will be implement post-MVP.Use for all issues/PRs that do not belong to the MVP release. Will be implement post-MVP.priority:P3-lowNice-to-have or non-blocking; schedule as time permits.Nice-to-have or non-blocking; schedule as time permits.status:triageNewly filed or uncategorized. Needs initial review, labeling, and priority assignment.Newly filed or uncategorized. Needs initial review, labeling, and priority assignment.
Metadata
Metadata
Assignees
Labels
area:persistenceEntities, DAOs, JPA/Hibernate mappings, and database concerns.Entities, DAOs, JPA/Hibernate mappings, and database concerns.enhancementNew feature or requestNew feature or requestpost-mvpUse for all issues/PRs that do not belong to the MVP release. Will be implement post-MVP.Use for all issues/PRs that do not belong to the MVP release. Will be implement post-MVP.priority:P3-lowNice-to-have or non-blocking; schedule as time permits.Nice-to-have or non-blocking; schedule as time permits.status:triageNewly filed or uncategorized. Needs initial review, labeling, and priority assignment.Newly filed or uncategorized. Needs initial review, labeling, and priority assignment.
Projects
Status
Todo
Problem / context
Under concurrent load, duplicate DrillItem rows could be created for the same Challenge, and concurrent updates might overwrite streak/nextDueAt values (lost updates).
Proposed solution
Uniqueness & race handling
Optimistic locking
Tests
Index
In scope / Out of scope
In Scope
Out of Scope
Acceptance criteria
Area
area:persistence
Dependencies / related issues
No response
Checklist