Fork namespace
Creates a new namespace from the source namespace’s current head or from an unexpired snapshot. Without new_namespace_id in the request, LoonFS generates an ID. The response’s namespace_id is the new namespace’s ID.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The durable ID of one namespace. Each namespace ID refers to one namespace lifetime, and it isn’t a display name. Its serialized form is 1 to 128 lowercase ASCII letters, digits, dots, underscores, or hyphens, and it starts with a letter or digit. The loonfs- prefix is reserved for system use.
Example
demoThe source namespace ID.
Header Parameters
Section titled “Header Parameters ”A stable, opaque actor ID of 1 to 256 visible ASCII characters.
Example
usr_8f3cStable opaque actor ID supplied by the application. Keep this value unchanged when retrying a commit; it is attribution, not authentication.
Send service for a trusted application request using the deployment token’s full authority, or send Loonfs-Principals for a user request. Exactly one is required; never send both. Service context bypasses per-user permission checks.
Example
serviceComma-separated opaque principal IDs, without spaces, whose combined grants authorize this request. Send this header or Loonfs-Context: service; exactly one is required. The application authenticates users and supplies their principals.
Example
user_123,team_designRequest Body
Section titled “Request Body ”A request to fork a namespace.
object
The durable ID of the new namespace that the fork creates. Without this field, LoonFS generates an ID. The response’s namespace_id is the new namespace’s ID.
Example
demoAn unexpired snapshot to fork from. Without it, the fork starts from the current head.
Example
snp_0000000000000tfy68ekkbj6bxResponses
Section titled “ Responses ”Namespace forked
The current state of one namespace.
object
The time the namespace was created, in Unix milliseconds.
The actor that created the namespace, as the application supplied it.
Example
usr_8f3cThe namespace and sequence this namespace was forked from. Only a forked namespace has this field.
object
The source namespace’s sequence that the fork captured.
The fork point snapshot, which keeps this namespace’s state at fork_point_seq readable. That state is the source’s state at the fork point. A read of this namespace accepts the ID as snapshot_id.
Example
snp_0000000000000tfy68ekkbj6bxThe fork whose unmerged commits a rebase replays into this namespace. Only a namespace that a rebase created has this field.
object
The fork sequence that the fork’s next merge would have started after when the rebase created the namespace. The namespace’s first replay commit starts after it.
The fork whose commits the namespace’s replay commits apply.
Example
demoThe namespace that the fork was taken from.
Example
demoThe sequence of the namespace’s newest visible commit.
The namespace ID.
Example
demoThe pool that stores the namespace’s content objects and upload records. A fork has the same pool as its source.
Example
pool_3s0drmj8em84yb4mnetqkz2j0xThe namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it.
The namespace’s retention window, in milliseconds. Only a namespace with a window has this field. An advance under the namespace’s window, such as the reference server’s maintenance round sends, doesn’t move the floor of a namespace without a window.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Invalid namespace ID
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Unauthorized
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Forbidden
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Source namespace not found, or the snapshot is missing or expired. A fork that folds the source’s WAL tail also returns snapshot_not_found once 5 minutes have passed since its first call started.
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
Fork conflict
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
The source or target namespace ID was deleted and can’t be used again (namespace_deleted)
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
JSON body exceeds the 2 MiB limit
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Unique request identifier echoed in error envelopes and server logs
The server can’t complete the request now. Check code to find whether the outcome is unknown (after a deadline or a lost acknowledgment), or the cause is shutdown, load, writer session admission, store contention, required maintenance, or invalid storage credentials. When its request cap is full, the reference server returns server_busy with Retry-After: 1 before it reads the body. Health and readiness probes are exempt from the cap. A mutation might still complete after a deadline or a lost acknowledgment, so check its outcome before retrying.
The JSON body that LoonFS APIs return with an HTTP error status.
object
The stable, machine-readable error code.
Optional machine-readable context for the error code.
object
The time the current writer acquired its epoch, in Unix milliseconds. It’s present in every writer_fenced error.
The namespace’s current writer epoch.
The writer of the current epoch. It’s present in every writer_fenced error.
The access revision that is actually current for the inode.
The fork sequence that the merge started after.
The attribute revision that is actually current for the inode.
The current binding token.
The deletion sequence that is actually active for the inode.
The namespace’s actual head sequence.
The inode that the path actually contained.
Example
ino_000000r0000013kje0d47gc8kwThe revision that is actually current. It’s absent when the inode has no current revision.
The after_seq value from the change feed request.
Which of the causes that share the error’s code and remedy occurred, for a code whose row in the details table lists causes.
The idempotency key of the commit that the error is about.
Example
cmt_7kn71d9dq885x91hejz3gvf9p0The fingerprint of the mutation that was committed under commit_id. This field is present exactly when committed_seq is present.
The sequence that commit_id was already committed at. The server includes it when a durable commit receipt records that commit.
The first inode whose change a refused merge can’t apply.
object
The version that the fork started from, which is the merged-into namespace’s version at the fork point. It’s absent for an inode that the fork created.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The inode. It has the same ID in the fork and in the namespace being merged into.
Example
ino_000000r0000013kje0d47gc8kwWhich check failed.
The fork’s version at the end of the merge’s range. It’s absent for an inode that the fork deleted.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The merged-into namespace’s current version. It’s absent when that namespace deleted or hides the inode. For a name conflict, it’s the inode that has the name there. For a dependency conflict, it’s the fork’s version of the inode whose change was skipped (the directory, or the moved inode), so its path is the ours path of that inode’s own entry.
object
The file’s content in that version. This field is present exactly when revision_no is present.
object
The required checksum of the referenced bytes.
object
The algorithm that produced value.
The checksum in canonical lowercase hexadecimal, without a prefix.
The ID of the content chain in the reading namespace’s pool.
Example
con_4z59p0wjvx9a8b2frdhhf6mat1The kind of content reference. The format defines one kind, blob_v1.
The length of the referenced prefix of the chain, in bytes.
The inode’s path in that version, built from the stored display names.
Example
/docs/report.txtThe file’s revision number in that version. A directory has none.
The number of inodes whose change a refused merge can’t apply.
The access revision that the request expected to be current.
The fork sequence that the merge had to start after: the end of the previous merge’s range, or the fork point for the fork’s first merge.
The attribute revision that the request expected to be current.
The opaque binding token that the request supplied.
The deletion sequence that the restore expected to be active.
The head sequence that the request required.
The inode that the request expected the path to contain.
Example
ino_000000r0000013kje0d47gc8kwThe revision that the request expected to be current.
The epoch of the failed writer session at the time another writer displaced it.
The fork point of the fork whose commits a merge applies, which is the sequence of this namespace that the fork was made at.
The from_seq value from the diff request.
The inode that the failed precondition or operation targeted.
Example
ino_000000r0000013kje0d47gc8kwThe bound that a merge’s size exceeded.
The deleted namespace that caused the operation to fail.
Example
demoThe index of the failed operation in the request.
The zero-based position of the failed request precondition.
The namespace’s retention floor. A change feed request can set after_seq to this sequence or any later one, and the feed returns the changes committed after it. A diff request can set from_seq to this sequence or any later one.
For range_not_satisfiable, the size in bytes of the file that the range was requested from.
The fork sequence that a merge’s range starts after, when that start is below the fork’s own retention floor.
The fork of a refused merge: the fork whose range conflicts, or whose range starts below its own retention floor.
Example
demoThe split hint of a merge that exceeded a bound: a fork sequence such that a merge of the fork’s commits through it fits. It’s absent when no shorter range fits.
The capability feature that isn’t supported, when the code is not_supported.
A human-readable description of the error.
The invalid input, as a JSON Pointer, a parameter name, a CLI flag, or a CLI argument.
The request ID. The server also sends this ID in the x-request-id response header.
Headers
Section titled “Headers ”Seconds to wait before retrying when code is commit_queue_full, server_busy, or shutting_down.
Unique request identifier echoed in error envelopes and server logs