Uh oh!
There was an error while loading. Please reload this page.
[BEAM-22089] Fix query retry in Java FirestoreIO - #22175
Conversation
danthev
commented
Jul 6, 2022
R: @yixiaoshen |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
yixiaoshen
commented
Jul 8, 2022
LGTM. please also get a review from someone else. |
danthev
commented
Jul 8, 2022
R: @johnjcasey |
johnjcasey
commented
Jul 8, 2022
Nothing looks bad to me, but a lot of this is firestore specific, so its hard to judge from a BeamIO perspective |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
danthev
commented
Jul 12, 2022
Code is ready again, fixed some spotless errors after adding all the unit tests, filter sorting etc. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
73ed328 to
c314775Comparec314775 to
ad3af31Compare
johnjcasey
left a comment
There was a problem hiding this comment.
LGTM, though I think a lot of this is very low level encoding work, and should probably be pushed down to the Firestore library itself
johnjcasey
commented
Jul 14, 2022
@pabloem@chamikaramj for final pass & merge |
This fixes a condition where, when a RunQuery request is retried, the cursor inferred from the last received value is set incorrectly, potentially yielding no or skipping some results. This can happen due to nested field paths in the orderBy or when the implicit order (e.g. by name) is not filled correctly. See also #22089.
This PR fixes both root-causes along with unit test cases for each.