I’d like to kinda nest a (simple) list into a CDT Map and mainly perform two basic operations:
- Check if the Map contains an entry X (can do by now) and
- atomically append a small value Y to a cdt map entry X (create X, if not existing yet).
A simple byte-append would serve my use case, however having more list operations like pop would also come in handy. Even though I could implement this now, I’d have to solve concurrency issues which would not arise with an atomic operation at the table.
From @srini’s Roadmap talk at Aerospike User Summit 2019 I take away that AS wants to work on ‘nesting CDT ops’. Is it intended to support full cdt operations? To what nesting depth? I think being able to use CDT List OPs on a CDT Map Entries’ Bin and the other way around would serve most use cases.
"CDTMapBin": {
"keyWithCDTListValue": [1,2,..]
}