Giter Club home page Giter Club logo

Comments (1)

wangyu096 avatar wangyu096 commented on June 5, 2024

原因分析

  1. GSE 文件分发任务做拆分成 upload 和 download 原子文件任务。由于 GSE 的一些优化策略,当目标文件在目标服务器的目标路径上已存在(md5 相同)时,哪怕文件源 upload的任务结果为失败,都会把 download 原子任务状态设置为成功。
  2. job 判断整体任务成功的逻辑:download 任务全部成功。所以这个案例中,实际上 gse 返回的 download 原子任务状态都是成功的,所以判定整体成功
  3. 之所以会出现下载原子任务的状态为“FAIL“,是因为 upload 文件失败了,job 会认为对应的 download 原子任务必然是失败的,有这个处理逻辑,导致原本的下载任务状态被覆盖为”FAIL“
  4. 所以,任务总体结果是成功的,这里需要优化子任务的显示状态

from bk-job.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.