Nebula
World partition

ChunkStateOutcome

What became of a change made through ChunkStateService.

generated from the sources
public enum ChunkStateOutcome : byte

What became of a change made through ChunkStateService.

Members

NameValueDescription
Applied0The worker that holds the chunk's lease applied the change. ChunkStateResult.State is the entry now.
Conflict1A compare-and-set found a different entry than expected, and changed nothing. ChunkStateResult.State is the entry the worker found, so the caller can decide again.
Unavailable2Nothing changed: no worker holds the chunk's lease, or the one that does could not apply the change before the deadline (its restore of the chunk was still running, or the lease was moving).
TimedOut3No answer arrived before the deadline. The change may or may not have been applied: read the entry before trying again, or use a compare-and-set, which is safe to repeat.
Rejected4The change was refused and nothing changed: the payload is longer than ChunkState.MaxPayloadBytes, the chunk's entries would exceed ChunkState.MaxEncodedBytes, or the container cannot hold chunk state (it is carried by an entity, or the id is empty).

On this page