[TRACKING ISSUE] Introduce a property to control the reconnection behavior of the client [API-2036]

Đang mở
#635 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
20/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
java, python
Lĩnh vực
api, networking

Hướng nghiên cứu

Bắt đầu bằng cách đọc PR #24772 liên quan ở phía Java và so sánh hành vi kết nối lại của nó với client Python này. issue này là một mục theo dõi thay vì một thay đổi Python có phạm vi cụ thể; để hoàn thành, cần xác định một thuộc tính tương đương phía client và xác nhận hành vi cùng các bài kiểm thử của thuộc tính đó.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The tracking issue for the Java side PR.

See https://github.com/hazelcast/hazelcast/pull/24772 for details.


During reconnections, the client would normally try to connect to the last known member list, and then try the configured member addresses.

This logic is fine for most of the use cases, but for some users who expose their multi-member clusters via a single load balancer or node port, this might not be what we want. In their use cases, cluster members are not accessible from the client directly, the connection has to be established by the service in front of the cluster members.

For such scenarios, not trying to connect to the members from the last known member list is probably what we want.

We decided not to change the default behavior, or be smart and try to detect such cases. Instead, we decided to introduce a private property for now, and share that with the customer that wants this feature. In the future, depending on the feedback and our own discussions, we might promote this to a public property as well.

Ngôn ngữ chính
Python
Star
115
Fork
78
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của hazelcast/hazelcast-python-client

Tất cả issue của hazelcast/hazelcast-python-client

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.