Alexandr Porunov <alexandr.poru...@gmail.com> writes:

> Hello,
>
> I wonder to know if GitLab can normally works with distributed file
> systems. I want to use GitLab with GlusterFS for repositories' data.
> Will it work normally?
>
> The main problem here that I afraid is that another process can push a
> data while existing process pushes data too. If for example two
> developers changed the same file and started push it in the same time.
> It can bring into strange situation .
> Also for example we can expect a situation when one process started to
> update a file but died and another process wait when it is finished.
>
> Does GitLab is safe to use in distributed file systems?

I ran gitlab with its data on an NFS share for a few months. It worked well
in the beginning, but at one point I noticed that gitlab stopped working
every night which required me to restart it every morning. I have no
proof at all, but I suspect it was the use of NFS that triggered this,
because when I moved the data onto local storage the problems went away.
IIRC NFS can be a problematic FS when it comes file locking and keeping
files open during re-connection, so I wasn't too surprised that
switching to local storage fixed it. GlusterFS is hopefully a lot better.

The short of it is, you're on your own, it might work, I don't think
it's tested so it can break at any time.

/M

--
Magnus Therning,  magnus.thern...@cipherstone.com
Cipherstone Technologies AB
Theres Svenssons gata 10, 417 55 Gothenburg, Sweden

I would rather use Java than Perl. And I'd rather be eaten by a
crocodile than use Java.
     — Trouser

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/87inr8krrl.fsf%40cipherstone.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to