TECHNOLOGY

lakeFS branches: isolating a data experiment without copying every object

In this article
THE QUICK TAKE

A lakeFS branch isolates a logical data view; reproducible training should identify the committed state and retain its referenced objects.

Isolation applies to a repository view

lakeFS exposes Git-like versioning operations for data in object storage. A branch has its own view of repository objects. Initial branching is a metadata operation that can share unchanged physical objects, rather than copying the entire underlying collection.

Consider testing a caption-cleaning transformation. A separate branch lets the experiment replace outputs without immediately changing the main branch’s visible data. This isolates the lakeFS-managed view; it does not automatically isolate an external database or another resource the transformation also writes.

A branch name is a moving reference

The object model distinguishes branches, immutable commits and tags. A branch can advance and can contain uncommitted changes. Reading the same branch path on different occasions can therefore expose different content, even though the URI looks familiar.

For a model experiment, resolve the intended committed state and record its identifier. If the pipeline deliberately consumes uncommitted material, describe that condition explicitly. Calling a branch by a release-like name does not by itself make the branch’s future contents immutable.

Logical paths do not identify physical storage

lakeFS maps logical repository paths to physical objects. Updates create a new object location while metadata connects it to the logical view. A copied filename is consequently not sufficient evidence that two experiments consumed the same version of an artifact.

Inspect object metadata through the documented interface when diagnosing a mismatch. A pipeline that bypasses lakeFS and reads arbitrary underlying storage paths can step outside the intended versioning boundary. Keep that distinction visible in the data-access design.

Validate before merging a transformation

A merge promotes changes between branches. It does not decide whether labels, captions or sampling rules are scientifically appropriate. Review data differences and task-specific checks before treating a successful merge as an improved training collection.

For the caption example, inspect changed record counts, missing media and several altered captions. A structurally successful merge can still promote a transformation that discarded useful examples. The checks should examine the actual derived dataset, not only the status of the versioning operation.

Plan retention separately from experiment identity

The current retention documentation distinguishes logical object lifecycle, branch lifecycle and physical garbage collection. A retained commit identifier and physically readable historical content are related but separate requirements. Retention settings determine which objects remain available for future reconstruction.

Decide how long an experiment must be reproducible and align storage policies with that period. Deleting a temporary branch is not a complete account of bytes reclaimed. Conversely, a historical identifier alone cannot restore an object already removed from storage. This boundary matters when planning long-lived model evidence.

Primary references

lakeFS object model.

lakeFS version data.

lakeFS data retention.

Related explanations: Artifact provenance; Data preparation memory.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles