Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

resolve issue #36 #40

Merged
merged 1 commit into from
Aug 30, 2024
Merged

resolve issue #36 #40

merged 1 commit into from
Aug 30, 2024

Conversation

nurzhan-saktaganov
Copy link
Collaborator

  • make the idToReplicaset map immutable by convention
  • instead, we create an entirely new object instead of updating the old one

@nurzhan-saktaganov nurzhan-saktaganov changed the title resolve issue #36 WIP: resolve issue #36 Aug 16, 2024
@KaymeKaydex
Copy link
Owner

need just tests

nurzhan-saktaganov added a commit that referenced this pull request Aug 26, 2024
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_resolve_issue_35 branch from 4362f70 to 1acb936 Compare August 26, 2024 16:33
@nurzhan-saktaganov nurzhan-saktaganov changed the base branch from nsaktaganov_linters_fix to master August 26, 2024 16:42
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_resolve_issue_35 branch 2 times, most recently from 26af8a4 to 7f5c269 Compare August 26, 2024 16:47
@nurzhan-saktaganov nurzhan-saktaganov marked this pull request as ready for review August 26, 2024 16:48
@nurzhan-saktaganov nurzhan-saktaganov changed the title WIP: resolve issue #36 resolve issue #36 Aug 26, 2024
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_resolve_issue_35 branch from 7f5c269 to 952adbf Compare August 26, 2024 17:34
@codecov-commenter
Copy link

codecov-commenter commented Aug 26, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 26.08696% with 51 lines in your changes missing coverage. Please review.

Project coverage is 21.82%. Comparing base (c3e9913) to head (6b88152).
Report is 1 commits behind head on master.

Files Patch % Lines
topology.go 34.69% 32 Missing ⚠️
api.go 0.00% 11 Missing ⚠️
discovery.go 0.00% 5 Missing ⚠️
vshard.go 25.00% 2 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
+ Coverage   21.50%   21.82%   +0.32%     
==========================================
  Files           9        9              
  Lines         651      678      +27     
==========================================
+ Hits          140      148       +8     
- Misses        505      524      +19     
  Partials        6        6              

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

@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_resolve_issue_35 branch from 952adbf to 8a248b0 Compare August 26, 2024 20:44
* make the idToReplicaset map immutable by convention
	we create an entirely new object instead of updating the old one
* remove proxy object 'struct controller'
* update CHANGELOG.md
@nurzhan-saktaganov nurzhan-saktaganov force-pushed the nsaktaganov_resolve_issue_35 branch from 8a248b0 to 6b88152 Compare August 26, 2024 20:52
@nurzhan-saktaganov nurzhan-saktaganov linked an issue Aug 27, 2024 that may be closed by this pull request
@KaymeKaydex KaymeKaydex merged commit cf02580 into master Aug 30, 2024
2 checks passed
@nurzhan-saktaganov nurzhan-saktaganov added the bug Something isn't working label Sep 1, 2024
@nurzhan-saktaganov nurzhan-saktaganov deleted the nsaktaganov_resolve_issue_35 branch September 17, 2024 16:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

A possible concurrent access to "idToReplicaset" map
3 participants