Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add read replica rotator #2241

Merged
merged 32 commits into from
Nov 29, 2023

Fix camel case

0d57414
Select commit
Loading
Failed to load commit list.
Merged

Add read replica rotator #2241

Fix camel case
0d57414
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 28, 2023 in 1s

4.62% of diff hit (target 30.70%)

View this Pull Request on Codecov

4.62% of diff hit (target 30.70%)

Annotations

Check warning on line 29 in internal/config/readreplica_rotate.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/config/readreplica_rotate.go#L23-L29

Added lines #L23 - L29 were not covered by tests

Check warning on line 45 in pkg/index/job/readreplica/rotate/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/config/config.go#L40-L45

Added lines #L40 - L45 were not covered by tests

Check warning on line 51 in pkg/index/job/readreplica/rotate/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/config/config.go#L47-L51

Added lines #L47 - L51 were not covered by tests

Check warning on line 57 in pkg/index/job/readreplica/rotate/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/config/config.go#L53-L57

Added lines #L53 - L57 were not covered by tests

Check warning on line 63 in pkg/index/job/readreplica/rotate/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/config/config.go#L59-L63

Added lines #L59 - L63 were not covered by tests

Check warning on line 70 in pkg/index/job/readreplica/rotate/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/config/config.go#L65-L70

Added lines #L65 - L70 were not covered by tests

Check warning on line 29 in pkg/index/job/readreplica/rotate/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/options.go#L27-L29

Added lines #L27 - L29 were not covered by tests

Check warning on line 36 in pkg/index/job/readreplica/rotate/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/options.go#L34-L36

Added lines #L34 - L36 were not covered by tests

Check warning on line 43 in pkg/index/job/readreplica/rotate/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/options.go#L41-L43

Added lines #L41 - L43 were not covered by tests

Check warning on line 69 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L53-L69

Added lines #L53 - L69 were not covered by tests

Check warning on line 88 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L73-L88

Added lines #L73 - L88 were not covered by tests

Check warning on line 97 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L92-L97

Added lines #L92 - L97 were not covered by tests

Check warning on line 105 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L100-L105

Added lines #L100 - L105 were not covered by tests

Check warning on line 108 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L108

Added line #L108 was not covered by tests

Check warning on line 115 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L111-L115

Added lines #L111 - L115 were not covered by tests

Check warning on line 123 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L117-L123

Added lines #L117 - L123 were not covered by tests

Check warning on line 135 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L126-L135

Added lines #L126 - L135 were not covered by tests

Check warning on line 141 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L138-L141

Added lines #L138 - L141 were not covered by tests

Check warning on line 146 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L143-L146

Added lines #L143 - L146 were not covered by tests

Check warning on line 148 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L148

Added line #L148 was not covered by tests

Check warning on line 158 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L151-L158

Added lines #L151 - L158 were not covered by tests

Check warning on line 178 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L160-L178

Added lines #L160 - L178 were not covered by tests

Check warning on line 180 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L180

Added line #L180 was not covered by tests

Check warning on line 190 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L183-L190

Added lines #L183 - L190 were not covered by tests

Check warning on line 197 in pkg/index/job/readreplica/rotate/service/rotator.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/readreplica/rotate/service/rotator.go#L192-L197

Added lines #L192 - L197 were not covered by tests