You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Guido Anzuoni <Gu...@technomind.it> on 2005/07/10 14:00:19 UTC

On recent BDB usage issues

I have read about all posts on " 	I lost 7 bdb repositories yesterday! <http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=35037> " and I am 
a little scared about the issues regarding BDB peculiar usage made by SVN.
But, even if so much has been said, I think that a clear word from SVN/BDB
guru should come.
The question is quite simple: is there ***any*** configuration to safely run
Subversion with BDB ?
For what I have read, allowing access only thru svnserve is not safe.
I think that the same applies to Apache.
Should I conclude that the only safe way is to have a single user access
without hooks accessing the repository ?
 
Guido

Re: On recent BDB usage issues

Posted by Max Bowsher <ma...@ukf.net>.
Guido Anzuoni wrote:
> I have read about all posts on " I lost 7 bdb repositories yesterday!
> <http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=35037> "
> and I am
> a little scared about the issues regarding BDB peculiar usage made by SVN.
> But, even if so much has been said, I think that a clear word from SVN/BDB
> guru should come.
> The question is quite simple: is there ***any*** configuration to safely 
> run
> Subversion with BDB ?
> For what I have read, allowing access only thru svnserve is not safe.
> I think that the same applies to Apache.
> Should I conclude that the only safe way is to have a single user access
> without hooks accessing the repository ?

No.

There is absolutely nothing wrong with running local, svnserve, and apache 
access to a BDB repository simultaneously.

Yes, there have been some curious BDB horror stories, but there is no reason 
to suspect specific access methods as the cause.

Max.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: On recent BDB usage issues

Posted by Norbert Unterberg <nu...@gmail.com>.
2005/7/10, Guido Anzuoni <Gu...@technomind.it>:

> The question is quite simple: is there ***any*** configuration to safely run
> Subversion with BDB ? 
> For what I have read, allowing access only thru svnserve is not safe. 

You are confusing some things:

Subversion supports different access methods: 
 * http using apache web server
 * svn (with and without ssl) using svnserver
 * direct file access.

In addition, subversion supports two repository formats:
 * BDB
 * FSFS

Both can independently chosen when setting up a repository. You can
have apache with fsfs, you can have svnserver with fsfs, or you can
have svnserver with BDB and so on.

It look like you are looking for a way to combine fsfs with apache?
Well, just select fsfs when creating your repository with svnadmin!

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org