Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear up deleting a branch with an active session #516

Open
dcherian opened this issue Dec 27, 2024 · 0 comments
Open

clear up deleting a branch with an active session #516

dcherian opened this issue Dec 27, 2024 · 0 comments

Comments

@dcherian
Copy link
Contributor

It seems I can
(1) repo.writable_session("main")
(2) call repo.delete_branch("main") which deletes the ref using the Storage.
(3) session.branch returns "main" (wrong!)
(4) session.commit raises an hard-to-read ConflictError : icechunk.session.ConflictError: Failed to commit, expected parent: Some("DG260M9H1M6ZVR7330G0"), actual parent: None

Aside from the deletion of "main", we could somehow invalidate the Session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant