components-contrib/state/aws/dynamodb
Mike Brown 13cef6cba1
dymamodb state: add support for first write concurrency
The existing logic for the dymamodb state store does not respect the
FirstWrite concurrency option for a SetRequest when etags are not used
by the client. This commit fixes the issue by employing a conditional
expression to test for the existence of an item when FirstWrite is
specified and etags are not.

Signed-off-by: Mike Brown <github@torvosoft.com>
2022-08-30 12:11:45 -04:00
..
dynamodb.go dymamodb state: add support for first write concurrency 2022-08-30 12:11:45 -04:00
dynamodb_test.go dymamodb state: add support for first write concurrency 2022-08-30 12:11:45 -04:00