首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏后端技术

    mvcc原理

    m_ids不包括m_creator_trx_id ut_ad(m_up_limit_id <= m_low_limit_id); if (UT_LIST_GET_LEN(trx_sys->serialisation_list ) > 0) { const trx_t *trx; trx = UT_LIST_GET_FIRST(trx_sys->serialisation_list);

    1.7K40发布于 2019-06-15
  • 来自专栏爱可生开源社区

    MySQL 核心模块揭秘 | 11 期 | InnoDB 提交事务,提交了什么?

    // storage/innobase/trx/trx0trx.cc static inline bool trx_add_to_serialisation_list(trx_t *trx) { . trx_sys_allocate_trx_id_or_no(); } // 生成事务提交号 inline trx_id_t trx_sys_allocate_trx_no() { ut_ad(trx_sys_serialisation_mutex_own

    46710编辑于 2024-04-11
  • 来自专栏MySQL修行 | 老叶茶馆

    MySQL:大并发下TRX_SYS mutex案例分析

    ->else 如果当前rw trxid为空 m_ids.clear(); ->if (UT_LIST_GET_LEN(trx_sys->serialisation_list ) > 0) 如果提交中的事务大于0 ->trx = UT_LIST_GET_FIRST(trx_sys->serialisation_list);

    65420编辑于 2023-09-14
  • 来自专栏码匠的流水账

    聊聊cortex的kv.Client

    . // It also deals with serialisation by using a Codec and having a instance of // the the desired type

    45820发布于 2021-02-08
  • 来自专栏码匠的流水账

    聊聊cortex的kv.Client

    . // It also deals with serialisation by using a Codec and having a instance of // the the desired type

    64100发布于 2021-01-27
  • 来自专栏爱可生开源社区

    MySQL 核心模块揭秘 | 54 期 | 事务提交了,Undo 日志怎么办?

    生成事务提交号之后,当前正在提交的事务对象(trx)会加入事务子系统(trx_sys)的 serialisation_list 链表的末尾。这个链表中的所有事务,都是正在提交的事务。

    22600编辑于 2025-02-26
  • 来自专栏MySQL修行 | 老叶茶馆

    浅析InnoDB purge线程

    purge_queue->top()); //弹出一个 } else { break; } 而事务进入purge_queue是在事务commit的时候调用trx_serialisation_number_get

    2.4K20发布于 2020-12-15
  • 来自专栏程栩的性能优化笔记

    全新系列-Linux进程管理初探

    * schedule(); * } * __set_current_state(TASK_RUNNING); * * If the caller does not need such serialisation

    46210编辑于 2023-11-01
  • 来自专栏k-cloud-labs

    kube-apiserver 内存优化进阶

    优化内存分配 时间线 reduce the number of allocations in the WatchServer during objects serialisation #108186,

    1K10编辑于 2023-12-03
  • 来自专栏MySQL修行 | 老叶茶馆

    从一个案例深入剖析InnoDB隐式锁和可见性判断

    /percona-server-5.7.29-32/storage/innobase/trx/trx0undo.cc:1970 #2 0x0000000001b8b639 in trx_write_serialisation_history { copy_trx_ids(trx_sys->rw_trx_ids); } else { m_ids.clear(); } if (UT_LIST_GET_LEN(trx_sys->serialisation_list ) > 0) { const trx_t* trx; trx = UT_LIST_GET_FIRST(trx_sys->serialisation_list); if (trx->no

    95141发布于 2020-11-11
  • 来自专栏区块链大本营

    深入浅出谈以太坊智能合约

    MyContract = eth.contract(contract.info.abiDefinition) // extracts info from contract, save the json serialisation

    1.1K170发布于 2018-05-10
  • 来自专栏Java架构师历程

    mysql 谈谈innodb存储引擎

    trx_sys->serialisation_list 序列化事务链表,在事务提交阶段,需要先将事务的undo状态设置为完成,在这之前,获得一个全局序列号trx->no,从trx_sys->max_trx_id 当完成undo更新等操作后,再将事务对象同时从serialisation_list和rw_trx_list上移除。 总的来说,mysql_trx_list包含了rw_trx_list上的事务对象,rw_trx_list包含了serialisation_list上的事务对象。

    2K20发布于 2018-09-26
  • 来自专栏Golang语言社区

    Validating ECDSA Signatures in Golang

    EDIT: I updated the way that I do the JSON serialisation/deserialisation in this post based on feedback

    1.8K20发布于 2018-12-25
  • 来自专栏爱可生开源社区

    PXC 现场频繁死锁,某组件惨遭官方删除

    0x7fb0586d6c90, recovery=<optimized out>) at current_thd.h:33 #6 0x0000000002438303 in trx_write_serialisation_history wsrep_wait_for_turn_in_group_commit(wsrep_binlog.cc:468) trx_sys_update_wsrep_checkpoint(current_thd.h:33) trx_write_serialisation_history

    55100编辑于 2025-07-17
  • 来自专栏程序亦非猿

    Java 程序员眼里的 Linux 内核 —— wait_event 源码分析

    TASK_UNINTERRUPTIBLE); * if (do_i_need_to_sleep()) * schedule(); * * If the caller does not need such serialisation

    84611发布于 2019-08-16
  • 来自专栏爱可生开源社区

    源码分析 | MySQL 的 commit 是怎么 commit 的?

    mini-transaction |--------------trx_commit_low |----------------trx_write_serialisation_history

    1.2K20编辑于 2023-08-18
  • 来自专栏人人都是极客

    文件系统专栏 | 之文件系统架构

    最近最少使用的文件链表  struct rcu_head  rcu;  struct work_struct destroy_work;  struct mutex  s_sync_lock; /* sync serialisation

    3.4K31编辑于 2022-08-26
  • 来自专栏进击的Coder

    干货|这可能是最全的高并发、高性能、高可用解决方案总结

    8.3 序列化与反序列化 先看看维基百科怎么定义的序列化: “In computing, serialization (US spelling) or serialisation (UK spelling

    2.5K31发布于 2020-09-18
  • 来自专栏全栈程序员必看

    sched.h (版本4.16.7全部内容)

    break; * * schedule(); * } * __set_current_state(TASK_RUNNING); * * If the caller does not need such serialisation

    59830编辑于 2022-11-03
领券