libpmemobj-cpp
libpmemobj-cpp copied to clipboard
We should prohibit cross-pool swap in concurrent_hash_map and in concurrent_skip_list
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.
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.