Skip to content

chore: drop duplicate error log in PG/MySQL GetTasksForProcessing - #24

Merged
ruko1202 merged 1 commit into
mainfrom
feature/ruk-140
May 25, 2026
Merged

chore: drop duplicate error log in PG/MySQL GetTasksForProcessing#24
ruko1202 merged 1 commit into
mainfrom
feature/ruk-140

Conversation

@ruko1202

Copy link
Copy Markdown
Owner

The inner helper logged "failed to get task for processing", the
outer storage.GetTasksForProcessing logged the same string, and
baseProcessor.doProcessQueue logged "process queue failed" once
more — three log lines per failure. Stripped the inner one to
match what RUK-133 did for CureTasks.

RUK-140 (adding FOR UPDATE SKIP LOCKED) closed as won't-fix-yet:
plain FOR UPDATE preserves correctness, the throughput plateau
only matters under heavy horizontal scale (many service instances
on the same queue) which isn't measured here. Worth revisiting
when there's a real production signal.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

The inner helper logged "failed to get task for processing", the
outer storage.GetTasksForProcessing logged the same string, and
baseProcessor.doProcessQueue logged "process queue failed" once
more — three log lines per failure. Stripped the inner one to
match what RUK-133 did for CureTasks.

RUK-140 (adding FOR UPDATE SKIP LOCKED) closed as won't-fix-yet:
plain FOR UPDATE preserves correctness, the throughput plateau
only matters under heavy horizontal scale (many service instances
on the same queue) which isn't measured here. Worth revisiting
when there's a real production signal.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@ruko1202
ruko1202 merged commit cb87364 into main May 25, 2026
4 checks passed
@ruko1202
ruko1202 deleted the feature/ruk-140 branch May 25, 2026 14:51
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.

1 participant