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

[Backport 2.x] Decouple replication lag from logic to fail stale replicas (#9507) #9705

Merged
merged 1 commit into from
Sep 2, 2023

Decouple replication lag from logic to fail stale replicas (#9507)

bee6497
Select commit
Failed to load commit list.
Merged

[Backport 2.x] Decouple replication lag from logic to fail stale replicas (#9507) #9705

Decouple replication lag from logic to fail stale replicas (#9507)
bee6497
Select commit
Failed to load commit list.
Codecov / codecov/patch succeeded Sep 2, 2023 in 0s

75.66% of diff hit (target 70.86%)

View this Pull Request on Codecov

75.66% of diff hit (target 70.86%)

Annotations

Check warning on line 25 in libs/common/src/main/java/org/opensearch/common/crypto/DataKeyPair.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/common/src/main/java/org/opensearch/common/crypto/DataKeyPair.java#L22-L25

Added lines #L22 - L25 were not covered by tests

Check warning on line 32 in libs/common/src/main/java/org/opensearch/common/crypto/DataKeyPair.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/common/src/main/java/org/opensearch/common/crypto/DataKeyPair.java#L32

Added line #L32 was not covered by tests

Check warning on line 40 in libs/common/src/main/java/org/opensearch/common/crypto/DataKeyPair.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/common/src/main/java/org/opensearch/common/crypto/DataKeyPair.java#L40

Added line #L40 was not covered by tests

Check warning on line 37 in libs/common/src/main/java/org/opensearch/common/crypto/DecryptedRangedStreamProvider.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/common/src/main/java/org/opensearch/common/crypto/DecryptedRangedStreamProvider.java#L37

Added line #L37 was not covered by tests

Check warning on line 45 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java#L45

Added line #L45 was not covered by tests

Check warning on line 103 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java#L102-L103

Added lines #L102 - L103 were not covered by tests

Check warning on line 107 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java#L107

Added line #L107 was not covered by tests

Check warning on line 112 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java#L112

Added line #L112 was not covered by tests

Check warning on line 117 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/CryptoManagerFactory.java#L117

Added line #L117 was not covered by tests

Check warning on line 62 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/TrimmingStream.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/TrimmingStream.java#L62

Added line #L62 was not covered by tests

Check warning on line 112 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/TrimmingStream.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/TrimmingStream.java#L112

Added line #L112 was not covered by tests

Check warning on line 40 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L40

Added line #L40 was not covered by tests

Check warning on line 45 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L45

Added line #L45 was not covered by tests

Check warning on line 52 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 57 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L57

Added line #L57 was not covered by tests

Check warning on line 67 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L67

Added line #L67 was not covered by tests

Check warning on line 70 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L69-L70

Added lines #L69 - L70 were not covered by tests

Check warning on line 72 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L72

Added line #L72 was not covered by tests

Check warning on line 77 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L75-L77

Added lines #L75 - L77 were not covered by tests

Check warning on line 83 in libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

libs/encryption-sdk/src/main/java/org/opensearch/encryption/keyprovider/CryptoMasterKey.java#L82-L83

Added lines #L82 - L83 were not covered by tests

Check warning on line 59 in server/src/main/java/org/opensearch/common/blobstore/VerifyingMultiStreamBlobContainer.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/VerifyingMultiStreamBlobContainer.java#L57-L59

Added lines #L57 - L59 were not covered by tests

Check warning on line 32 in server/src/main/java/org/opensearch/common/blobstore/stream/read/ReadContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/stream/read/ReadContext.java#L32

Added line #L32 was not covered by tests

Check warning on line 40 in server/src/main/java/org/opensearch/common/blobstore/stream/read/ReadContext.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/stream/read/ReadContext.java#L40

Added line #L40 was not covered by tests

Check warning on line 82 in server/src/main/java/org/opensearch/common/blobstore/stream/read/listener/FilePartWriter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/stream/read/listener/FilePartWriter.java#L82

Added line #L82 was not covered by tests

Check warning on line 84 in server/src/main/java/org/opensearch/common/blobstore/stream/read/listener/FilePartWriter.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/src/main/java/org/opensearch/common/blobstore/stream/read/listener/FilePartWriter.java#L84

Added line #L84 was not covered by tests