-
Notifications
You must be signed in to change notification settings - Fork 49
FEAT: Add gat(get and touch) command to get item & update item expira… #941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
2ac1311 to
0e0257a
Compare
This comment was marked as resolved.
This comment was marked as resolved.
0e0257a to
a73d95a
Compare
cca3587
a73d95a to
cca3587
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Java 쪽 참고 사항현재 클라이언트에서는 여러 키에 대한 GAT 기능은 고려하지 않고 있으며, 단일 키에 대한 GAT만 지원하면 됩니다. 클라이언트 쪽 변경을 최소화하면서 구현하려고 했기 때문에, if (hasSwitchedOver(line)) {
prepareSwitchover(line);
return;
} |
|
NOT_MY_KEY 응답도 포함이죠? |
|
NOT_MY_KEY 응답도 수신하고 있지만, 이는 기존 현재는 단일 키에 대해서만 |
src/main/java/net/spy/memcached/protocol/ascii/BaseGetOpImpl.java
Outdated
Show resolved
Hide resolved
src/main/java/net/spy/memcached/protocol/ascii/BaseGetOpImpl.java
Outdated
Show resolved
Hide resolved
|
@singsangssong 리뷰 반영 부탁드립니다. |
c9de7ca to
2eafdd5
Compare
oliviarla
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
최종 리뷰입니다.
src/main/java/net/spy/memcached/protocol/ascii/BaseGetOpImpl.java
Outdated
Show resolved
Hide resolved
e86aa2d to
ee6f59b
Compare
jhpark816
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
일부 리뷰
ee6f59b to
0de1ccd
Compare
|
@uhm0311 최종 리뷰 바랍니다. |
| private final String cmd; | ||
| private final Collection<String> keys; | ||
| private String currentKey = null; | ||
| protected final int exp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
하위 클래스에서 직접 참조하는 부분이 이제 없으므로 private으로 선언합시다.
0de1ccd to
e1a76a4
Compare
|
@singsangssong |
|
@oliviarla |
🔗 Related Issue
⌨️ What I did
memcached 서버의
gat를 java-client에도 추가합니다.이를 통해 expire time을 재설정 가능하도록 합니다.
Operation인터페이스 및 Ascii, Binary 프로토콜 구현체 추가OperationFactory에GetAndTouch추가MemcachedClient에 사용자가 호출할 수 있는gat기능 추가gat기능을 위한 테스트 코드 추가CI Test 실패 관련
현재 실패하고 있는 CI Test는
JDK 21, ubuntu-latest에서 Test ARCUS Client with ZK를 실패하고 있습니다.코드에서는
AsciiClientTest의gat관련 테스트를 실패하고 있습니다.해당 테스트는 현재 도커에 릴리즈된 memcached 서버는
gat기능이 아직 반영되지 않았기에, 테스트코드에서gat명령을 요청해도 응답이 없는 문제입니다.