Node reference collision on two independent instances ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2013 03:41 AM
Hi,
Are there any chances of having two different contents on two different independent alfresco instances have same node reference.
If yes, then is such case possible very frequently.
Thanks,
Faizaan
Are there any chances of having two different contents on two different independent alfresco instances have same node reference.
If yes, then is such case possible very frequently.
Thanks,
Faizaan
Labels:
- Labels:
-
Archive
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2013 08:41 AM
Yes its possible. NodeRefs are only valid in a particular repo.
However NodeRefs are fairly long guids so its not very likely to have duplicate node refs unless nodes have been transferred between repos.
What uniquely identifies a node is its repositoryId/storeId/docId
However NodeRefs are fairly long guids so its not very likely to have duplicate node refs unless nodes have been transferred between repos.
What uniquely identifies a node is its repositoryId/storeId/docId
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2013 09:01 AM
Thanks mrogers for quick reply !
We have a use case where we have a production repository having around 100K contents, and we having another independent repository (migration instance )where we having migrated another around 100K content from legacy system.
Now we want to replicate content from this migration instance to production repository using replication services, so can we safely replicate that without affecting existing production data.
Node References of contents on production and migration will not be same ?
Thanks !
Faizaan
We have a use case where we have a production repository having around 100K contents, and we having another independent repository (migration instance )where we having migrated another around 100K content from legacy system.
Now we want to replicate content from this migration instance to production repository using replication services, so can we safely replicate that without affecting existing production data.
Node References of contents on production and migration will not be same ?
Thanks !
Faizaan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2013 09:06 AM
Depending upon how the nodes are replicated then yes node refs can be the same. For example the transfer api will preserve node refs.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2013 09:17 AM
Yes, noderefs of contents will be preserved by transfer api for contents that are getting replicated and it is required.
But what question I have is while replicating content in target repository is there any chance that node reference of content that is getting replicated from source server will match to some other content on the target server that already existed (not replicated, but created by some user) on target server.
Thanks !
Faizaan
But what question I have is while replicating content in target repository is there any chance that node reference of content that is getting replicated from source server will match to some other content on the target server that already existed (not replicated, but created by some user) on target server.
Thanks !
Faizaan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2013 10:14 AM
They are uuids so generally there's time and machine id seeding the algorithm which makes overlap less likely.
Its possible to specify a node ref and there are a few nodes refs that are hard coded, so in those cases overlap is more likely.
Its possible to specify a node ref and there are a few nodes refs that are hard coded, so in those cases overlap is more likely.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-10-2013 10:00 AM
Thanks mrogers for your valuable inputs !
So I conclude that node refs will not overlap while we are replicating content from source to target repository excluding node refs that are hard coded.
Provided that both instances are running on different machines.
Thanks !
Faizaan
So I conclude that node refs will not overlap while we are replicating content from source to target repository excluding node refs that are hard coded.
Provided that both instances are running on different machines.
Thanks !
Faizaan
