concept Operations & procedures
Feature flags, sticky cohorts and split decisions
A sticky rollout keeps bucket placement repeatable. Follow one synthetic user across two evaluators to see when a different cutoff changes the decision and when a different group changes the bucket.
What it means
Two services can put the same user in the same rollout bucket and still make opposite feature-flag decisions. A sticky rollout makes the placement repeatable: with the same targeting identity, group and bucketing rule, the user gets the same bucket each time. Each service then applies its own effective flag rule to that bucket. A percentage alone does not guarantee agreement.
Try it
Simulation. Raise only Evaluator B threshold from 30% to 40%. Watch B’s bucket as well as its decision. The example uses a synthetic identity, A, not a real user identifier.
Feature flags, sticky cohorts and split decisions
Explain consistent per-user rollout under distributed evaluators
The two evaluators return different decisions under the stipulated bucketing and configuration.
Decisions
- A includedYes
- B includedNo
- Same versionNo
- Outcomesplit
The deterministic toy hash illustrates a fixed context; version labels do not imply identical rollout rules. Equality belongs to the excluded side.
Evaluated inputs
- Required scenario evidence
- provided
- Synthetic targeting identity
- A
- Evaluator A group
- G1
- Evaluator B group
- G1
- Evaluator A threshold
- 40 %
- Evaluator B threshold
- 30 %
- Evaluator A config version
- v2
- Evaluator B config version
- v1
Toy deterministic 0–99 bucket from one synthetic ASCII letter and group suffix; not MurmurHash/Unleash or OpenFeature algorithm. Version labels and thresholds are independent supplied observations; no mapping of actual versions or personal identifiers. Missing identity unknown, provider behavior varies.
About this model
The controls set only a local, bounded scenario. The computed branch is not a verdict about a live system. Inputs listed as not evaluated did not participate in this branch after validation.
Reset restores the original inputs. It does not change the open or closed state of help or FAQ answers.
For identity A | Evaluator A | Evaluator B |
|---|---|---|
| Starting group | G1 | G1 |
| Starting bucket | 36 | 36 |
| Starting threshold | 40% | 30% |
| Config version label | v2 | v1 |
| Starting decision | On | Off |
Initially, bucket 36 is below A’s cutoff of 40 but not B’s cutoff of 30. Raising B’s threshold to 40% turns B on without moving the identity: both buckets are still 36. The decisions now match even though the version labels still differ.
With both thresholds at 40%, change only Evaluator B group to G2. B’s bucket moves from 36 to 67 and B turns off. A stays on. This time it is the placement, not the percentage, that explains the split. Reset returns to the starting comparison.
How the bucket becomes a decision
The simulation uses 100 buckets numbered 0 through 99. For identity A, it takes the letter’s numeric value, 65, multiplies by 17 and adds 31 for group G1. That gives 1,136; the remainder after division by 100 is 36. Group G2 contributes 62 instead of 31, so the same letter lands in bucket 67. Neither the threshold nor the version label enters this calculation.
A 40% threshold includes buckets 0 through 39. The comparison is strictly below, not “at or below”: with both evaluators back in G1 and both thresholds set to 36%, bucket 36 is out on both sides. Agreement here means only that both returned off. Changing B’s version label to match A’s would make the labels agree, but would not turn the flag on.
With the targeting identity set to missing, there is no bucket to compare. The result is unknown, not off. Setting Required scenario evidence to missing stops the comparison even earlier: none of the selected identity, group, threshold or version values is used to reach a decision.
With the default subject and cohort group, both buckets are 36; A includes the subject at 40 and B excludes it at 30. Moving A's cutoff to 36 excludes it too. Both decisions then agree even though the version labels still differ. The relevant evidence is the effective cutoff and bucket, not agreement of configuration version names alone.
In practice
To understand a disagreement about one flag, compare what each service actually evaluated for the same case. Did it use the same targeting key and group? If the bucket is available, did placement match? Then compare the rule and threshold in effect at each service, alongside its configuration version. A version difference is a reason to inspect the rules, not proof that a delayed update caused this decision.
Use the provider’s own definition of stickiness. OpenFeature defines an optional targeting key to identify the subject of evaluation; a provider may require it for fractional rollout. Unleash documents identity and group as inputs to its stickiness calculation. The arithmetic above is a teaching example, not the Unleash algorithm or an algorithm prescribed by OpenFeature.
The useful question is not just “Did the flags match?” but “Where did the evaluations first differ in a way that explains the result?” A shared bucket points you toward the cutoff; a shared cutoff makes placement worth checking. If the effective inputs are unavailable, leave the cause open rather than changing a live rollout on the strength of the simulation.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
Does 40% mean exactly 40% in a small sample?
No. The toy evaluator compares each stable bucket with the threshold. A small set of identities can occupy a nonuniform set of buckets.
Why stable identity?
With unchanged grouping, hashing and rollout configuration, a stable identity keeps repeated evaluations in the same bucket. Changes in those effective inputs can change cohort assignment.
Can config propagation lag cause splits?
Yes, if effective configurations differ, but a version mismatch is not itself the cause. The toy computes bucket and cutoff independently; it does not simulate a propagation delay. Compare the effective evaluation inputs.
Is a flag a security boundary?
Project safety rule: never substitute the lab flag result for an authorization decision. No access-control policy is evaluated.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- OpenFeature evaluation context
Evaluation context. Targeting key identifies subject; provider may require it for fractional evaluation. No universal missing-key behavior.
Checked .
- Unleash stickiness
Stickiness. Default identity and group determine a hash bucket; fallback to session or random when identities absent means no guaranteed stickiness.
Checked .