I believe that this cloud function is not idempotent
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
Research direction
Read firestore/solution-aggregation/functions/index.js at lines 11-37 and trace how a retry could affect newNumRatings. Confirm whether repeated delivery can produce an incorrect value; done means the aggregation remains correct when the function is retried.
Written by the indexing model from the issue text.
Description
If it's retried, I think it's possible to get a wrong value for newNumRatings.
- Dominant language
- JavaScript
- Stars
- 395
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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.
More from firebase/snippets-node
-
Holis Open
Difficulty 1/5 Under an hour Newbie friendliness 1/100
firebase/snippets-node#420 ·
-
My phone Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
firebase/snippets-node#402 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 35/100
firebase/snippets-node#392 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
firebase/snippets-node#375 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
firebase/snippets-node#335 ·
All issues in firebase/snippets-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·