1. 04 5月, 2020 1 次提交
    • Y
      Proper error handling in dnodeOpenVnodes / dnodeCloseVnodes · 952eec14
      yifan hao 提交于
      * Description
      These two functions do not properly handle any error returned from
      dnodeGetVnodeList(). This patch als changes the signature of
      dnodeGetVnodeList() to make sure it returns only status, and number
      of vnodes is passed out through a separate argument.
      
      * Testing
      Before the patch, if I start taosd and then remove 'vnode' folder,
      the shutdown message would include the following:
      05/03 14:26:17.158204 0x140025950476096 DND total vnodes:-2147483296 are
      all closed
      
      This shows the code uses error code as vnode count.
      
      After the patch, it outputs proper error message:
      05/03 14:30:45.044762 0x139933723604800 DND Get dnode list failed
      952eec14
  2. 03 5月, 2020 10 次提交
  3. 02 5月, 2020 17 次提交
  4. 01 5月, 2020 12 次提交