Hi Zeeshan

probably this should fix your issue

https://github.com/orientechnologies/orientdb/commit/e9d9f6f41eb2722e5657e8242954286c085a0990

You can try the snapshot once it's rolled out, or you can wait the 2.2.25
GA that should be out tomorrow

Thanks

2017-08-01 16:19 GMT+02:00 Zeeshan Ahmad <[email protected]>:

> an update regarding this.
> I fixed this by updating the record on the server which had higher version
> of the record.
> To start with, server1 had RID=1102 and server 2 had RID=1104. I updated
> the record manually from the console on server2. After this both servers
> had @RID=1105.
>
> But this is manually work around. I think there should a command that can
> enforce records to be synced again across the distributed servers.
>
>
> On Tuesday, August 1, 2017 at 3:19:14 PM UTC+5:30, Zeeshan Ahmad wrote:
>>
>> hey,
>> i am still stuck on this issue. It happened when one of the machines went
>> down and in a minute came back up.
>> Can anyone suggest a workaround.
>>
>> On Tuesday, July 18, 2017 at 4:54:31 PM UTC+5:30, Zeeshan Ahmad wrote:
>>>
>>> hey,
>>>
>>> I have 2 master distributed setup of orientdb in production.
>>> My default-distributed-db-config.json
>>>
>>> {
>>>   "replication": true,
>>>   "hotAlignment" : true,
>>>   "autoDeploy": true,
>>>   "readQuorum": 1,
>>>   "writeQuorum": "majority",
>>>   "executionMode": "undefined",
>>>   "readYourWrites": true,
>>>   "newNodeStrategy": "dynamic",
>>>   "servers": {
>>>     "orientMaster": "master",
>>>     "orientMaster2": "master"
>>>   },
>>>   "clusters": {
>>>     "internal": {
>>>     },
>>>     "*": {
>>>       "servers": ["<NEW_NODE>"]
>>>     }
>>>   }
>>> }
>>>
>>> somehow few of the records have different version id's of the different
>>> servers. One of them has v57 and other v55
>>> Because of this i am getting :
>>> "Cannot UPDATE the record #25:426820 because the version is not the
>>> latest. Probably you are updating an old record or it has been modified by
>>> another user (db=v57 your=v55)\r\n\tDB name=\"superuser\""
>>> at client side.
>>>
>>> I am using orientdb 2.2.21
>>>
>>> Is this a known issue? how can i fix this?. how is this not detected in
>>> synchronisation?
>>> Need help immediately because i am using this in production.
>>>
>>> Thanks,
>>> Zeeshan
>>>
>>>
>>> --
>
> ---
> 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.

Reply via email to