-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: FSSMasterDirectory : Multiple marker files on server restart
PostPosted: Mon Feb 01, 2010 8:33 am 
Regular
Regular

Joined: Thu Oct 08, 2009 10:34 am
Posts: 55
Hi Guys,
Dont know if this is fixed on the head but found this problem with the 3.1 version of FSMasterDirectoryProvider.java


There is a whitespace in the following code ..........

Code:
public void start() {
...........
new File( sourceDir, "current1 ").delete();
new File( sourceDir, "current2" ).delete();


Please see the "current1 " where it should be "current1". This leads to problems with deleting marker files and in some cases leads to having multiple marker files for the same index. I havent looked to see if it is fixed in head!!

Cheers,
LL


Top
 Profile  
 
 Post subject: Re: FSSMasterDirectory : Multiple marker files on server restart
PostPosted: Wed Feb 03, 2010 12:20 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
thanks, good catch!

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.