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?
to your account
Mark Paluch opened DATAREDIS-471 and commented
The Redis KeyValue Template/KeyValueAdapter perform a DEL and HMSET to re-create an entity. The whole state is discarded and rewritten from scratch. An incremental/selective update mechanism would be nice
Referenced from: pull request #191, and commits addcdfe, d88d992, 7209513, 51c17ca, f35ef8a, b517a38, 4a0f6d5, bde376e, 99a0d62, 881fdc1, 042db1c, 0eb2faa, 230ef8c, c5e3dba, d32c804, 3595097, 2e1e5eb, 1f44f0a, 4d5a7b1, 1327b1c, fb29ee3, b0e33a4, 68870ad, ed9ea98, 76229c1, 296acd0
The text was updated successfully, but these errors were encountered:
Christoph Strobl commented
PartialUpdate should allow the following:
Update the HASH accoring to partially filled domain object.
Set single values via their property path.
Remove single values via their property path.
Handle time to live
Update references to objects
Consider custom conversions when setting single path elements
Update secondary index structures
Sorry, something went wrong.
we also need to make sure that we remove existiting values when overriding List, Map and complex types.
Best approach seems to be using HSCAN reading and removing keys prior to insert
No branches or pull requests