Author Topic: Issue with with backup server behavior since 0.39.10  (Read 2867 times)

Offline ribbldibbl

  • Contributor
  • ***
  • Posts: 4
Issue with with backup server behavior since 0.39.10
« on: February 22, 2013, 11:20:35 pm »
Something I've noticed with 0.39.10/11:

When encountering a 430 error, the download thread sleeps for exactly 60 seconds before trying to connect to the backup server. This happens only if a backup connection is configured and effectively stalls a download if multiple parts are unavailable. Without a backup connection the thread moves on to the next part immediately as expected.

I've checked and confirmed that 0.39.9 works properly for me in this regard.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Re: Issue with with backup server behavior since 0.39.10
« Reply #1 on: February 22, 2013, 11:25:04 pm »
Was one of the servers astra by any chance?

Offline ribbldibbl

  • Contributor
  • ***
  • Posts: 4
Re: Issue with with backup server behavior since 0.39.10
« Reply #2 on: February 22, 2013, 11:31:40 pm »
Yes. I've also noticed that the order (astra as primary or as backup) did not matter.

Offline Rdl

  • Administrator
  • *****
  • Posts: 4073
Re: Issue with with backup server behavior since 0.39.10
« Reply #3 on: February 22, 2013, 11:34:56 pm »
But it always 'hangs' on astra? (430 on astra and switch to another server)

60 seconds is tied to global connection limit in setup->connections

Offline ribbldibbl

  • Contributor
  • ***
  • Posts: 4
Re: Issue with with backup server behavior since 0.39.10
« Reply #4 on: February 22, 2013, 11:47:16 pm »
Just doublechecked the sequence: get 430 error -> sleep/idle -> try to connect to backup server -> download or get another error on backup -> connect to primary and repeat. I also tried it without Astra, but that did not change anything.
If I connect to both servers with different threads without setting one of those as backup to the other, it works fine (move on to next part immediately and retry according to settings).