@Riccardo, RID are not recycled anymore (was in local), so dirty links don't cause NPE but it's just like the relationship doesn't exist. @Rob, Do you want to transfer a cluster to another machine manually?
Lvc@ On 25 June 2014 08:38, Riccardo Tasso <[email protected]> wrote: > And, among others, what does happen to the links of the records which are > moved? > > Riccardo > > > 2014-06-24 20:05 GMT+02:00 Rob Gratz <[email protected]>: > > Can I get a little more information on this or can you point me to the >> documentation? I understand the freeze/copy/release part. Not sure I >> understand the last part. Are you saying copy the files to a completely >> different machine (ie. not clustered with the machines being copied from)? >> Are the files copied into an existing database/new database? What does >> the addCluster command do? Just pick up the new files? >> >> Thanks in advance. >> >> Rob >> >> >> On Friday, July 26, 2013 5:33:55 AM UTC-5, Andrey Lomakin wrote: >>> >>> Hi all, >>> We are introduced ability to import/export data on cluster level using >>> plocal storage. >>> >>> In order to do this we use following step of commands: >>> >>> 1. com.orientechnologies.orient.core.db.ODatabase#freezeCluster - >>> flush cluster data on disk, and prohibits data changes. >>> 2. Copy cluster files to other server location. >>> 3. com.orientechnologies.orient.core.db.ODatabase#releaseCluster - >>> to allow cluster modifications. >>> 4. addCluster(String iType, String iClusterName, int iRequestedId - >>> create cluster with the same name and cluster id (not supported in local >>> storage). >>> >>> We use this approach to move non-active partitions of data to cheap >>> servers, so maybe it will be useful for someone. >>> >>> There is reflection of mentioned before Java commands in console (FREEZE >>> CLUSTER, RELEASE CLUSTER, CREATE CLUSTER ID = ...) >>> >>> >>> -- >>> With best regards, >>> Andrey Lomakin >>> >>> >>> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
