Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • Container Registry
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #17709

Closed
Open
Opened May 22, 2016 by Gary Lo@gaplo917
  • Report abuse
  • New issue
Report abuse New issue

Periodically mark projects that are stuck in importing as failed

Projects can get stuck in the importing state if their Sidekiq worker was killed for whatever reason without having had a change to set the status to failed.

We can run a periodical task to check up on all import workers, and set the import status to failed if it turns out the worker is no longer actually running, as described in https://gitlab.com/gitlab-org/gitlab-ce/issues/17709#note_24583548.


Original description

Summary

~6000 commits, ~30MB Repos import from my private Gitlab server. It failed to import and NOT be able to cancel .

I created a new project with different name, manually pushed the the repos to new project. It takes only 1-2 minutues.

I have already wait around ~10 hours to see the "import progress". Still showing "import in progress"

Just a quick guess, maybe the project status is broken and forever waiting the import progress while the import had already fail. Probably dead lock

Steps to reproduce

Import a ~6000 commits, ~30MB Repos from my private Gitlab server ( accessible only via HTTP )

As I remember, I have encountered a error page, BUT, "Start Import?" button (Red button) still able to press to trigger this bug

Possible fixes

Able to cancel the import

Related issues

  • Discussion
  • Designs
Assignee
Assign to
9.1
Milestone
9.1
Assign milestone
Time tracking
None
Due date
None
7
Labels
Deliverable P2 Platform [DEPRECATED] S2 bug customer import
Assign labels
  • View project labels
Reference: gitlab-org/gitlab-foss#17709