Skip to content

Implement an Arithmetic Request supporting increment and decrement operations #26

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

Closed
dkz2 opened this issue Aug 2, 2023 · 1 comment

Comments

@dkz2
Copy link
Contributor

dkz2 commented Aug 2, 2023

The goal of this issue is to implement support for increment and decrement operations, specified via the M(I) and M(D) Flags in the Meta Arithmetic (ma) command. This will require us to create a new MemcahedRequest that corresponds to the Meta Arithmetic operation. Additionally this issue will include updating our MemcachedResponseDecoder and MemcachedRequestEncoder to handle request/responses for arithmetic operations. Unit tests for arithmetic request construction and response parsing, as well as a unit and integration test with a Memcached server, and finally adding API support to our MemcachedConnection.

dkz2 added a commit to dkz2/swift-memcache-gsoc that referenced this issue Aug 8, 2023
@dkz2
Copy link
Contributor Author

dkz2 commented Aug 11, 2023

Completed #29.

@dkz2 dkz2 closed this as completed Aug 11, 2023
FranzBusch pushed a commit that referenced this issue Aug 18, 2023
* add + replace #25

* soundness

* more test for add + replace

* build faiure fix?

* closes #26

* mr conflict clean up

* detla is now associated value

* precondition that both storage and arth mode are not set

* make sure of writeIntAsASCII

* closes #30

* soundness

* added unit test

* unit test refactor no string formatting

* MemcachedConnection clean up

* merge main update
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

No branches or pull requests

1 participant