CollectionNode::list_ret
CollectionNode::list()
{
- read_to_local();
logger().debug("CollectionNode:{}, {}", __func__, *this);
CollectionManager::list_ret_bare list_result;
for (auto &[coll, bits] : decoded) {
CollectionNode::create_ret
CollectionNode::create(coll_context_t cc, coll_t coll, unsigned bits)
{
- read_to_local();
logger().debug("CollectionNode:{}", __func__);
if (!is_mutable()) {
auto mut = cc.tm.get_mutable_extent(cc.t, this)->cast<CollectionNode>();
CollectionNode::update_ret
CollectionNode::update(coll_context_t cc, coll_t coll, unsigned bits)
{
- read_to_local();
- logger().debug("CollectionNode:{}", __func__);
+ logger().debug("trans.{} CollectionNode:{} {} {}",
+ cc.t.get_trans_id(), __func__, coll, bits);
if (!is_mutable()) {
auto mut = cc.tm.get_mutable_extent(cc.t, this)->cast<CollectionNode>();
return mut->update(cc, coll, bits);
CollectionNode::remove_ret
CollectionNode::remove(coll_context_t cc, coll_t coll)
{
- read_to_local();
- logger().debug("CollectionNode:{}", __func__);
+ logger().debug("trans.{} CollectionNode:{} {}",
+ cc.t.get_trans_id(),__func__, coll);
if (!is_mutable()) {
auto mut = cc.tm.get_mutable_extent(cc.t, this)->cast<CollectionNode>();
return mut->remove(cc, coll);