Skip to content

chore: more moderate readiness probes in hserver#52

Merged
Rory-Z merged 1 commit intohstreamdb:mainfrom
g1eny0ung:chore/update-hserver-readiness-probe
Oct 10, 2023
Merged

chore: more moderate readiness probes in hserver#52
Rory-Z merged 1 commit intohstreamdb:mainfrom
g1eny0ung:chore/update-hserver-readiness-probe

Conversation

@g1eny0ung
Copy link
Contributor

@g1eny0ung g1eny0ung commented Oct 9, 2023

I conducted a test using a 3-hserver cluster, and I discovered that almost all hservers experienced an average of 10 failed readiness checks. To address this issue, I updated the readiness probe with InitialDelaySeconds: 10 to reduce unnecessary checks because the server takes some time to bootstrap.

I have also increased the PeriodSeconds appropriately, and reduced FailureThreshold by half relatively.

@g1eny0ung g1eny0ung requested a review from Rory-Z as a code owner October 9, 2023 11:20
@g1eny0ung
Copy link
Contributor Author

/cc @YangKian

@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (23be202) 84.16% compared to head (71b3f39) 84.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   84.16%   84.42%   +0.25%     
==========================================
  Files          31       31              
  Lines        2053     2054       +1     
==========================================
+ Hits         1728     1734       +6     
+ Misses        231      227       -4     
+ Partials       94       93       -1     
Files Coverage Δ
controllers/add_hserver.go 90.79% <100.00%> (+0.05%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Rory-Z Rory-Z merged commit 0205529 into hstreamdb:main Oct 10, 2023
@g1eny0ung g1eny0ung deleted the chore/update-hserver-readiness-probe branch October 10, 2023 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants