You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the below input, Batch Get makes multiple calls even when the number of dynamo.Keys are less than 100. They were tested with two dynamo.Keys, where the first set exists and the second doesn't.
[]dynamo.Keys{{mockPKValue1, mockSKValue1}, {mockPKValue2, mockSKValue2}} There are 2 sets here. When the BatchGet.All method is executed, 2 separate calls are made even though the keys belong to the same table and the batch size is only 2.
Given the below input, Batch Get makes multiple calls even when the number of
dynamo.Keys
are less than 100. They were tested with twodynamo.Keys
, where the first set exists and the second doesn't.[]dynamo.Keys{{mockPKValue1, mockSKValue1}, {mockPKValue2, mockSKValue2}}
There are 2 sets here. When theBatchGet.All
method is executed, 2 separate calls are made even though the keys belong to the same table and the batch size is only 2.Adding
in.RequestItems[table] = kas
after line 234 in https://github.com/guregu/dynamo/blob/master/batchget.go#L234 seems to mitigate it.I encountered this after migrating to V2.
The text was updated successfully, but these errors were encountered: