FIX: Input the operation to none master node.#875
Merged
jhpark816 merged 1 commit intonaver:developfrom Feb 18, 2025
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
3df56c8 to
813f268
Compare
This comment was marked as resolved.
This comment was marked as resolved.
uhm0311
reviewed
Feb 10, 2025
uhm0311
previously approved these changes
Feb 13, 2025
Collaborator
|
@oliviarla |
Collaborator
|
@brido4125 그리고, 아래 메소드에서 getPrimary() 호출 시에 public MemcachedNode getPrimaryNode(final String key) {
/* ENABLE_REPLICATION if */
if (this.arcusReplEnabled) {
return ((ArcusReplKetamaNodeLocator) locator).getPrimary(key, getReplicaPick());
}
/* ENABLE_REPLICATION end */
return locator.getPrimary(key);
} |
813f268 to
f5d8911
Compare
Contributor
Author
|
아래코멘트 반영해서 groupingKey와 같이 op 객체가 |
Collaborator
|
https://github.com/jam2in/arcus-works/issues/691 여기 논의가 끝난 후에 다시 리뷰 시작하겠습니다. |
a0d86bd to
21e9664
Compare
uhm0311
previously approved these changes
Feb 17, 2025
21e9664 to
6de8df2
Compare
uhm0311
previously approved these changes
Feb 18, 2025
oliviarla
reviewed
Feb 18, 2025
6de8df2 to
8b457b6
Compare
oliviarla
approved these changes
Feb 18, 2025
jhpark816
approved these changes
Feb 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issue
https://github.com/jam2in/arcus-works/issues/686#issuecomment-2646933197
위 이슈에서 파생됨
기존 로직에서는 ReplicaPick.Slave 또는 ReplicaPick.RR 시,
Operation의 타입에 상관없이 선택된 노드에 연산을 처리한다.
즉, write 연산인 경우에도 Slave 노드에 연산이 처리될 수 있다.
대략 아래의 흐름에서 문제가 발생한다.
⌨️ What I did