naver / arcus-memcached

ARCUS memory cache server
https://github.com/naver/arcus
Apache License 2.0
70 stars 55 forks source link

FEATURE: touch command #778

Closed cheesecrust closed 1 month ago

cheesecrust commented 3 months ago

Description

A feature to alter the expiration time of a key without fetching the item. This works for KV relationships and collections.

Syntax

touch <key> <exptime> [noreply]\r\n

Response

ing-eoking commented 3 months ago

@cheesecrust

전반적으로 코드 정리가 필요해 보입니다. 코드 포맷이나 불필요한 코드는 없는지 다시 확인해 주세요.

commit message 를 하나로 통일해 주시고, PR 제목 과 commit message를 일치시켜주시길 바랍니다.

jhpark816 commented 3 months ago

@cheesecrust 아래 추가 바랍니다.

ing-eoking commented 3 months ago

mem_cmd_is 에 대한 참고입니다.

https://github.com/naver/arcus-memcached/blob/b9bb4b262c468f75f2c09504bc6af567ca8c33ce/t/lib/MemcachedTest.pm#L41-L134

cheesecrust commented 1 month ago

https://github.com/naver/arcus-memcached/pull/782 커밋을 하나로 병합해 위 새 pr로 올렸습니다. 이에 closed 합니다.