https://delta.io logo
c

Cole MacKenzie

08/24/2023, 9:24 PM
What is the intended behavior when performing a
commit
and it gets a
VersionAlreadyExists
? Is it to immediately try
version + 1
or should it update the entire table state and then try again at
latestVersion + 1
?
The code suggests just doing
version + 1
, but with a high number of writers, the version value quickly drifts away leaving the commit loop to attempt catching up but exhausting all 15 attempts.