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
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
Mark Paluch opened DATAREDIS-471 and commented
The Redis KeyValue Template/KeyValueAdapter perform a
DEL
andHMSET
to re-create an entity. The whole state is discarded and rewritten from scratch. An incremental/selective update mechanism would be niceReferenced 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: