libpmemobj-cpp icon indicating copy to clipboard operation
libpmemobj-cpp copied to clipboard

We should prohibit cross-pool swap in concurrent_hash_map and in concurrent_skip_list

Open vinser52 opened this issue 4 years ago • 1 comments

It is not possible to support cross-pool swap in concurrent_hash_map and in concurrent_skip_list because we do not support cross-pool transactions.

vinser52 avatar May 18 '20 20:05 vinser52

Currently we this will fail when we try to snapshot the element from another pool. However, errormsg could be improved. We could also create a separate exception for that case.

igchor avatar May 20 '20 10:05 igchor