[Glass] Error migrating instances

James Foster james.foster at gemtalksystems.com
Wed Jan 15 07:54:42 PST 2014


Hi Sebastián,

I did a search for ‘gcLock’ in the System Admin Guide and found several operations that require and/or hold the lock. In particular, see pages 310-11. Also, you can determine the session holding the GcLock by using the following:

System sessionIdHoldingGcLock

James

On Jan 15, 2014, at 4:40 AM, Sebastian Van Lacke <svanlacke at caesarsystems.com> wrote:

> Hi all,
> 
> I'm getting an error while migrating instances. I have added an instance variable to a class, and I trying to migrate the instances by evaluating this code:
> 
> | userHist allUsers |
> userHist := CSUserRequest classHistory.
> allUsers := SystemRepository listInstances: userHist.
> 
> 1 to: userHist size-1 do: [:index |
> 	 (userHist at: index) migrateInstances:(allUsers at: index) to: (userHist at: userHist size)].
> 
> After some minutes, I get this error:
> 
> a Error occurred (error 2501), An operation that needs to acquire the gcLock was not able to get the lock within a reasonable amount of time.
> 
> I have no idea how to proceed. I will appreciate some help.
> 
> Thank you very much
> 
> Sebastián
> 
> 
> 
> 
> -- 
> sebastian van lacke | web developer |  caesar systems | see clearly. decide smarter.
> 
> svanlakce at caesarsystems.com | t: +1.281.598.8790 | t: +54.11.4389.0126 | petrovr.blogspot.com | www.caesarsystems.com 
> 
> This message and any attached documents contain information from Caesar Systems LLC that may be confidential/trade secret and/or privileged. If you are not the intended recipient, you may not read, copy, distribute or use this information. If you have received this transmission in error, please notify the sender immediately by telephone or by reply e-mail and then delete this message.
> 
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20140115/4cc8c3c8/attachment.html>


More information about the Glass mailing list