On 27.8.2012 8:32, Gandhi, Shailey wrote:

So, if a project is locked by one instance , what happens if the second instance is also trying to lock it.

Is there a false negative response or a lock error?


an error and indexer moves to next file if I remember correctly
(or it can also wait for lock to release, but I am not sure, I think we just catch exception and continue with next file)

--
L

Thanks

Shailey

*From:*Lubos Kosco [mailto:lubos.ko...@oracle.com]
*Sent:* Tuesday, August 14, 2012 8:26 PM
*To:* Gandhi, Shailey (GWMG Technology)
*Cc:* opengrok-discuss@opensolaris.org
*Subject:* Re: [opengrok] Does Opengrok support, 2 indexing operations to run at the same time trying to lock files in the same file system?

On 14.8.2012 16:49, Gandhi, Shailey wrote:

    Hi

    Does Opengrok support, 2 indexing operations to run at the same
    time trying to lock files in the same file system?


yes, they race for locks (per project) in such case

--
L


Thanks

Shailey

------------------------------------------------------------------------

NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.




_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org  <mailto:opengrok-discuss@opensolaris.org>
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

------------------------------------------------------------------------
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.

_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to