Skip to content

Remove MakeSubscriptionID method#815

Merged
yuce merged 3 commits intohazelcast:masterfrom
yuce:remove-auto-subscription-id
Jul 5, 2022
Merged

Remove MakeSubscriptionID method#815
yuce merged 3 commits intohazelcast:masterfrom
yuce:remove-auto-subscription-id

Conversation

@yuce
Copy link
Copy Markdown
Collaborator

@yuce yuce commented Jul 2, 2022

This PR removes event.MakeSubscriptionID method from the few places it was used. event.MakeSubscriptionID returned an automatic subscription ID based on the function pointer. That kind of usage is problematic with the release of Go 1.17, see: https://go.dev/doc/go1.17#compiler

@yuce yuce requested a review from utku-caglayan July 2, 2022 19:09
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 2, 2022

Codecov Report

Merging #815 (457e6e1) into master (a5c2607) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #815      +/-   ##
==========================================
- Coverage   77.12%   77.12%   -0.01%     
==========================================
  Files         329      328       -1     
  Lines       15556    15548       -8     
==========================================
- Hits        11998    11991       -7     
  Misses       2711     2711              
+ Partials      847      846       -1     
Impacted Files Coverage Δ
internal/event/dispatch_service.go 79.66% <ø> (-0.34%) ⬇️
internal/client/client.go 64.97% <100.00%> (ø)
internal/cluster/connection_listener_binder.go 66.18% <100.00%> (-1.94%) ⬇️
internal/cluster/view_listener_service.go 81.08% <100.00%> (ø)
internal/stats/stats_service.go 77.93% <100.00%> (-0.08%) ⬇️
internal/invocation/invocation_service.go 81.70% <0.00%> (+1.21%) ⬆️
internal/cluster/cluster_service.go 77.19% <0.00%> (+1.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5c2607...457e6e1. Read the comment docs.

@yuce
Copy link
Copy Markdown
Collaborator Author

yuce commented Jul 3, 2022

@utku-caglayan Discovered bugs in the group lost event handling in the Invocation Service. One of the test tasks events fail because of that. Could you check out #816 before this one?

Copy link
Copy Markdown
Contributor

@utku-caglayan utku-caglayan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@yuce yuce requested a review from srknzl July 5, 2022 06:56
@yuce yuce merged commit d5fc815 into hazelcast:master Jul 5, 2022
@yuce yuce deleted the remove-auto-subscription-id branch July 5, 2022 07:22
utku-caglayan pushed a commit to utku-caglayan/hazelcast-go-client that referenced this pull request Jul 5, 2022
Removed MakeSubscriptionID method

(cherry picked from commit d5fc815)
utku-caglayan added a commit that referenced this pull request Jul 5, 2022
* Fix all partitions being assigned to one node (#775)

Fix all partitions getting mapped to one node

(cherry picked from commit ec11592)

* Fix go tools version so that it works with go 1.15 (#792)

(cherry picked from commit dc17db9)

* [Backports] Fixes SQL driver test to work with SSL

* Fix SQL leak (#795)

* Fixes SQL goroutine leak.

(cherry picked from commit c10fdf4)

* Fix Failover SSL (#797)

Fixes the connection manager not using failover cluster settings for SSL

(cherry picked from commit 989e683)

* [Backports] Fix uptime gauge [API-1382] (#808)

* Fix Invocation Service group lost handling (#816)

Fixed invocation service's group lost event handling

(cherry picked from commit a5c2607)

* Remove MakeSubscriptionID method (#815)

Removed MakeSubscriptionID method

(cherry picked from commit d5fc815)

* Renamed proto.EntrySizeInBytes and removed dead code (#814)

(cherry picked from commit f06827c)

* add missing API usage (#776)

(cherry picked from commit c5e35ff)

* update client version

* fix for client version test

Co-authored-by: Alex Barkan <aleckz@gmail.com>
Co-authored-by: Serkan Özel <serkan.ozel@hazelcast.com>
Co-authored-by: Yüce Tekol <yuce.tekol@hazelcast.com>
@yuce yuce added this to the 1.3.0 milestone Jul 7, 2022
yuce added a commit that referenced this pull request Dec 26, 2022
Removed MakeSubscriptionID method
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.

4 participants