Is it a problem to reconstruct & have two icechunk sessions

Open
#107 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python, rust
Domain
data

Research direction

The issue names no files, tests, or entry points. Begin by tracing the session serialization used between the icechunk Python library and zarrista's statically compiled Rust version, then compare it with icechunk session pickling. Done means establishing whether reconstructed sessions can safely operate on the same repository concurrently and recording the conclusion or required follow-up.

Written by the indexing model from the issue text.

Description

It's not possible to share a Rust object across two Rust-Python libraries that were compiled independently.

This means that for Zarrista to natively work with icechunk as a store (where zarrista manages icechunk from Rust without going through Python) Zarrista has to serialize the icechunk state from the icechunk python library and create a new icechunk session in the statically-compiled icechunk version in zarrista.

Unlike obstore, Icechunk is not stateless, so perhaps there could be bad things that happen if two different sessions are trying to work on the same "repo" at the same time?

I think this session serialization may be the same process done when an icechunk session is pickled, so hopefully it won't be a problem, but I don't know.

Dominant language
Python
Stars
52
Forks
3
Avg merge
36m
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/zarrista

All issues in developmentseed/zarrista

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.