Git Product home page Git Product logo

Comments (3)

acechef avatar acechef commented on June 21, 2024

I found the cause of the problem. The main reason is that when the restore job status is Started, the RequeueAfter operation is not performed.

In my local environment, the network conditions are not very good. The time to pull the job image and execute the task often exceeds 30 seconds. Then, when re-entering the Provision function after 30 seconds, after executing job.ReconcileJobStatus(ctx, jobKey, r.Kube, obj), the status of restore cr is still Started.

However, the requeueAfter setting is not implemented in the following judgment, so the status of restore cr will not be updated even if the restore job has been completed.

The network environment of the e2e test should be good, so no problems were found.

from k8up.

acechef avatar acechef commented on June 21, 2024

I submitted a pr for this issue (the time of RequeueAfter is the same as that in backupcontroller), please review it

from k8up.

Kidswiss avatar Kidswiss commented on June 21, 2024

Hi @acechef

Thanks for the additional info. To be honest I was confused by your initial request, but your new comment makes things a lot clearer.

from k8up.

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.