美文网首页
One trip to fix bug

One trip to fix bug

作者: 泓礼 | 来源:发表于2019-02-20 15:59 被阅读0次

    ## vector out of order in column reader

    occur when use multiple ledger for column;

    通过打印日志发现问题在于server,

    server side problem: when multiple read request comes, the first finished ( while this is not the expected oldest) will return quickly.

    maybe the entryQueue is out of order, true

    solution:  two methods below:

    1. check wantted , request list to keep order

    2. use hash-like container to contain entry(cacheEntry )

    the easier way is to sequencially check read future.

    相关文章

      网友评论

          本文标题:One trip to fix bug

          本文链接:https://www.haomeiwen.com/subject/piphyqtx.html