Skip to content

Migration process gets stuck for a long time #49

@kwisatz

Description

@kwisatz

I successfully converted a single repository, but since then, any other repository I try to convert exhibits the same behavior. It proceeds to the following step, then just hangs there for a very long time, even on small repositories with very few commits:

[main] INFO git.lfs.migrate.Main - LFS server: OK
[main] INFO git.lfs.migrate.Main - Converting object without dependencies in 2 threads...
[pool-2-thread-2] INFO git.lfs.migrate.Main -   processed: 1/9
[pool-2-thread-1] INFO git.lfs.migrate.Main -   processed: 436/618
[pool-2-thread-2] INFO git.lfs.migrate.Main -   processed: 541/618
[main] INFO git.lfs.migrate.Main -   processed: 618/618
[main] INFO git.lfs.migrate.Main - Converting object with dependencies in single thread...
[main] INFO git.lfs.migrate.Main -   processed: 1/121
[main] INFO git.lfs.migrate.Main -   processed: 121/121

straceing it doesn't reveal very much:

) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
futex(0x7f13b0aa29d0, FUTEX_WAIT, 1957, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
--- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} ---
futex(0x7f13b0aa29d0, FUTEX_WAIT, 1957, NULL [main] INFO git.lfs.migrate.Main - Recreating refs...
[main] INFO git.lfs.migrate.Main -   convert ref: c62a3b3fd0c6424f18ee364e114b3e0fcf21c6d6 -> 4e96476725c1a43f7e25a8382544ed4a42dc11ba (HEAD)
[main] INFO git.lfs.migrate.Main -   convert ref: c62a3b3fd0c6424f18ee364e114b3e0fcf21c6d6 -> 4e96476725c1a43f7e25a8382544ed4a42dc11ba (refs/heads/master)
[main] INFO git.lfs.migrate.Main - Convert time: 204587
) = 0
exit_group(0)                           = ?
+++ exited with 0 +++

That might have something to do with java binaries? It doesn't use up any CPU, it's not waiting on IO, it just sleeps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions