Skip to content

fix: avoid eliminating rebuilding replicas without heads

Codecov / codecov/patch failed Nov 16, 2024 in 1s

0.00% of diff hit (target 8.47%)

View this Pull Request on Codecov

0.00% of diff hit (target 8.47%)

Annotations

Check warning on line 134 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L134

Added line #L134 was not covered by tests

Check warning on line 159 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L159

Added line #L159 was not covered by tests

Check warning on line 185 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L185

Added line #L185 was not covered by tests

Check warning on line 188 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L188

Added line #L188 was not covered by tests

Check warning on line 193 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L191-L193

Added lines #L191 - L193 were not covered by tests

Check warning on line 196 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L195-L196

Added lines #L195 - L196 were not covered by tests

Check warning on line 205 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L205

Added line #L205 was not covered by tests

Check warning on line 248 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L248

Added line #L248 was not covered by tests

Check warning on line 261 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L261

Added line #L261 was not covered by tests

Check warning on line 264 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L264

Added line #L264 was not covered by tests

Check warning on line 297 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L297

Added line #L297 was not covered by tests

Check warning on line 347 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L347

Added line #L347 was not covered by tests

Check warning on line 438 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L438

Added line #L438 was not covered by tests

Check warning on line 465 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L456-L465

Added lines #L456 - L465 were not covered by tests

Check warning on line 473 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L468-L473

Added lines #L468 - L473 were not covered by tests

Check warning on line 481 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L475-L481

Added lines #L475 - L481 were not covered by tests

Check warning on line 483 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L483

Added line #L483 was not covered by tests

Check warning on line 493 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L486-L493

Added lines #L486 - L493 were not covered by tests

Check warning on line 506 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L495-L506

Added lines #L495 - L506 were not covered by tests

Check warning on line 509 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L509

Added line #L509 was not covered by tests

Check warning on line 516 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L512-L516

Added lines #L512 - L516 were not covered by tests

Check warning on line 527 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L518-L527

Added lines #L518 - L527 were not covered by tests

Check warning on line 532 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L529-L532

Added lines #L529 - L532 were not covered by tests

Check warning on line 536 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L536

Added line #L536 was not covered by tests

Check warning on line 687 in pkg/spdk/replica.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/spdk/replica.go#L686-L687

Added lines #L686 - L687 were not covered by tests