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
When we commit a transaction, we load each of the transaction files from concurrent commits to check for conflicts. However, this is currently inefficient in two ways:
We do this completely synchronously, reading a transaction file and processing one at a time
Using a buffered read would be appropriate
We also might optimize the path to find the transaction file path. Right now, it requires reading a whole manifest file. It would be nice if we could get that path in fewer IOPs.
We don't seem to cache the transaction files, so each commit may have to re-open these transaction files.
returnErr(Error::Internal{message:"more than 2^65 versions have been created and so regular version numbers are appearing as 'detached' versions.".into(),location:location!()});
}
// If any of them conflict with the transaction, return an error
When we commit a transaction, we load each of the transaction files from concurrent commits to check for conflicts. However, this is currently inefficient in two ways:
The logic for this is at:
lance/rust/lance/src/io/commit.rs
Lines 534 to 565 in 4812ac0
You can see this clearly with the following repro:
The text was updated successfully, but these errors were encountered: