1. 08 Dec, 2017 5 commits
    • Bob Van Landuyt's avatar
      Move the circuitbreaker check out in a separate process · f1ae1e39
      Bob Van Landuyt authored
      Moving the check out of the general requests, makes sure we don't have
      any slowdown in the regular requests.
      
      To keep the process performing this checks small, the check is still
      performed inside a unicorn. But that is called from a process running
      on the same server.
      
      Because the checks are now done outside normal request, we can have a
      simpler failure strategy:
      
      The check is now performed in the background every
      `circuitbreaker_check_interval`. Failures are logged in redis. The
      failures are reset when the check succeeds. Per check we will try
      `circuitbreaker_access_retries` times within
      `circuitbreaker_storage_timeout` seconds.
      
      When the number of failures exceeds
      `circuitbreaker_failure_count_threshold`, we will block access to the
      storage.
      
      After `failure_reset_time` of no checks, we will clear the stored
      failures. This could happen when the process that performs the checks
      is not running.
      f1ae1e39
    • Grzegorz Bizon's avatar
      Merge branch '40754-fix-flash-usage-with-personal-access-token' into 'master' · 12d33b88
      Grzegorz Bizon authored
      Fix new personal access token showing up in a flash message
      
      Closes #40754
      
      See merge request gitlab-org/gitlab-ce!15707
      12d33b88
    • Stan Hu's avatar
      Merge branch 'jprovazn-testfix2' into 'master' · eea671a2
      Stan Hu authored
      Clean test path between merge request handler tests
      
      Closes #40900
      
      See merge request gitlab-org/gitlab-ce!15792
      eea671a2
    • Robert Speicher's avatar
      Merge branch 'gitaly-795-migrate-repository-fsck' into 'master' · a19d79e8
      Robert Speicher authored
      Migrate Git::Repository#fsck to Gitaly
      
      Closes gitaly#795
      
      See merge request gitlab-org/gitlab-ce!15731
      a19d79e8
    • Kim Carlbäcker's avatar
      Migrate Git::Repository#fsck to Gitaly · 41b0c0e9
      Kim Carlbäcker authored
      41b0c0e9
  2. 07 Dec, 2017 35 commits