Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Deferred
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Backup
    • Labels:
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      245

      Description

      Need to add more and more logging along the whole backup process.

      Also we need to produce heartbeats here and there to avoid browser / php timeouts.

        Issue Links

          Activity

          Hide
          Eloy Lafuente (stronk7) added a comment -

          test1

          Show
          Eloy Lafuente (stronk7) added a comment - test1
          Hide
          Triage bot added a comment -

          test2

          Show
          Triage bot added a comment - test2
          Hide
          Ashley Holman added a comment -

          The heart beats are very important, otherwise course import will fail frequently. Our load balancers cut off connections if they are idle for 5 minutes. Some kind of progressive output would prevent this from happening.

          Show
          Ashley Holman added a comment - The heart beats are very important, otherwise course import will fail frequently. Our load balancers cut off connections if they are idle for 5 minutes. Some kind of progressive output would prevent this from happening.
          Hide
          Martin Dougiamas added a comment -

          Raising priority to get this into a sprint soon as timeouts on big operations are causing problems for some big users.

          Show
          Martin Dougiamas added a comment - Raising priority to get this into a sprint soon as timeouts on big operations are causing problems for some big users.
          Hide
          Adam Olley added a comment -

          Hi Eloy,
          Do we have any progress on this? How long till its ready do you think?

          Show
          Adam Olley added a comment - Hi Eloy, Do we have any progress on this? How long till its ready do you think?
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Ho,

          related with output heart beats, there is one early implementation available at MDL-22144 (by Sam H) able to, continuously, push information from server to browser in order to keep connection open and avoid browser / proxy timeouts. But it's highly experimental and untested (mainly because current output architecture of Moodle 2.0, doesn't allow to "stream" such heart-beats in a nice way.

          This issue is more about to avoid PHP max execution timeouts and logging backup & restore execution progress.

          Surely it has points on common with MDL-22144 because the logged information will be the one being sent in the heart beats, but they are definitively 2 different issues.

          So, right today, I can say this nor MDL-22144 will be fixed for 2.0.3 (due this week) and I'll try to get them fixed ASAP.

          Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Ho, related with output heart beats, there is one early implementation available at MDL-22144 (by Sam H) able to, continuously, push information from server to browser in order to keep connection open and avoid browser / proxy timeouts. But it's highly experimental and untested (mainly because current output architecture of Moodle 2.0, doesn't allow to "stream" such heart-beats in a nice way. This issue is more about to avoid PHP max execution timeouts and logging backup & restore execution progress. Surely it has points on common with MDL-22144 because the logged information will be the one being sent in the heart beats, but they are definitively 2 different issues. So, right today, I can say this nor MDL-22144 will be fixed for 2.0.3 (due this week) and I'll try to get them fixed ASAP. Ciao
          Hide
          Eloy Lafuente (stronk7) added a comment -

          Hi, I'm closing this as deferred as far as heart-beat and similar issues have been fixed since this was originally created. Now we have proper progress bars and other helpers built in current supported versions.

          Login is also improved in areas like pre-checkes, automated backups... any new need should be filled in a new issues.

          Ciao

          Show
          Eloy Lafuente (stronk7) added a comment - Hi, I'm closing this as deferred as far as heart-beat and similar issues have been fixed since this was originally created. Now we have proper progress bars and other helpers built in current supported versions. Login is also improved in areas like pre-checkes, automated backups... any new need should be filled in a new issues. Ciao

            People

            • Votes:
              25 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: