You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
146813: changefeedccl: support for constant headers for webhook and kafka sinks r=andyyang890,KeithCh a=asg0451
This adds support for constant headers for webhook
and kafka sinks, to be specified in the CREATE
CHANGEFEED statement as a JSON object.
Part of: #142273
Epic: CRDB-48880
Release note (general change): The CREATE
CHANGEFEED statement now supports the `headers`
option, which can be used to specify constant
headers for webhook and kafka sinks. This can be
used to add headers to all messages sent to the
sink.
149904: asim: final port over from mma prototype for asim r=tbg a=wenyihu6
**asim: pass false to ReplicaChangeDelayFn for AllocationTransferLeaseOp**
Previously, we incorrectly passed true to ReplicaChangeDelayFn for
AllocationTransferLeaseOp, causing it to treat the operation like a replica
addition and extend the delay based on range size and snapshot rate. Since lease
transfers are expected to be much faster, this was unintended. This commit fixes
the issue by applying only the base delay (ReplicaChangeBaseDelay) to
AllocationTransferLeaseOp, which defaults to 100ms.
Epic: none
Release note: none
---
**asim: correctly update queue.next in pushReplicateChange**
Previously, we did not assign the next field of the queues correctly because we
passed the base queue by value into pushReplicateChange, which caused updates to
the next field to affect only the copy, not the original queue. This commit
fixes the issue by returning the correct next value and updating the queue
directly.
Epic: none
Release note: none
---
**asim: pass simulator.Replica instead to pushReplicateChange**
Previously, we passed state.Range to pushReplicateChange. This commit changes it
to pass the simulator.Replica directly, as future commits will require access to
additional fields such as Desc and RangeUsageInfo.
Epic: none
Release note: none
---
**asim: pass state changer directly to pushReplicateChange**
Previously, we passed base queue to pushReplicateChange, but only its state
changer was being used. This commit updates pushReplicateChange to only take in
the state changer.
Epic: none
Release note: none
---
**asim: integrate allocatorsync with lease and replicate queue properly**
This commit integrates lease and replicate queue changes with the mma allocator
properly by calling allocatorSync.PreApply* and allocatorSync.PostApply,
completing the allocator integration. Some data-driven test outputs changed
because allocatorSync.PostApply now updates store pool after operations (such as
UpdateLocalStoresAfterLeaseTransfer), which was missing previously in asim. It’s
unclear if this was an oversight or previously seemed as unnecessary. More
reading is needed.
Epic: none
Release note: none
---
**asim: pass queue names for logging**
This commit passes the name of the queue making changes to pushReplicateChange
to improve logging.
Epic: none
Release note: none
---
**asim: remove setting from store**
This commit removes the setting field from store struct as it is not used
anywhere.
Epic: none
Release note: none
---
**asim: add rebalance_objective and delay for rebalance_mode**
This commit adds rebalance_objective as a setting and allows changes to
rebalance_mode to be scheduled as a delayed simulation event. This enables
testing transitions between mma enabled and disabled mode.
Epic: none
Release note: none
---
**asim: check for LBRebalancingMultiMetric in ShouldRebalanceStore**
This commit updates the old store rebalancer's ShouldRebalanceStore to check the
LBRebalancingMultiMetric cluster setting. asim still invokes this method when
checking changes from the old store rebalancer.
Epic: none
Release note: none
150191: roachtest: fix check for npm being installed r=rafiss a=rafiss
We have seen that this check can return a 0 exit code even when the npm command doesn't exist. Using && should fix this by short-circuiting as soon as a non-zero exit code is received.
fixes#149536fixes#149532
Release note: None
Co-authored-by: Miles Frankel <[email protected]>
Co-authored-by: wenyihu6 <[email protected]>
Co-authored-by: Rafi Shamim <[email protected]>
0 commit comments