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
150855: span: add MultiFrontier data structure r=aerfrei,asg0451 a=andyyang890
Informs #148110
---
**span: make frontierHeap type-safe**
This patch makes `frontierHeap` type-safe by replacing the usage of the
go standard library heap package with the cockroach copy of the heap
package that uses generics.
Release note: None
---
**heaputil: add package with helper functions for working with heaps**
This patch adds a new `heaputil` containing helper functions for
working with heaps. As of now, it only contains a single `Valid`
function which returns whether a heap is a valid heap based on
the min-heap invariant defined by `heap.Interface`.
The reasoning for creating a new package instead of reusing the
existing `heap` package is that that package is intended to be
a type-safe copy of the standard library package with the same name.
Release note: None
---
**span: add MultiFrontier data structure**
This patch adds a new `MultiFrontier` data structure that can be used
when we want a frontier that's partitioned into sub-frontiers under
the hood based on a custom partitioner function.
Release note: None
151166: kvserver: move LoadBasedRebalancingMode to kvserverbase r=sumeerbhola a=wenyihu6
Previously, the cluster setting LoadBasedRebalancingMode was in the kvserver
package. This would create an import cycle when future commits introduce
allocator sync. Allocator sync (in the mmaprototypehelpers package) needs to
check if mma is enabled by accessing this setting in kvserver, while kvserver
depends on mmaprototypehelpers to initialize allocator sync on every node. To
resolve this, this commit moves the setting out of kvserver to kvserverbase,
breaking the dependency cycle. This also improves clarity, as the setting fits
better in kvserverbase alongside other cluster settings, rather than in the
already large kvserver package.
Epic: none
Release note: none
Co-authored-by: Andy Yang <[email protected]>
Co-authored-by: wenyihu6 <[email protected]>
0 commit comments