Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-28 Thread Andrey Lomakin
Fixed. On Fri, Oct 24, 2014 at 12:21 PM, Emanuele Milani milani.emanuele...@gmail.com wrote: Thank you very much! On Friday, October 24, 2014 9:49:11 AM UTC+2, Andrey Lomakin wrote: HI, I will look at it https://github.com/orientechnologies/orientdb/ issues/2977 next week . On Fri,

Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-28 Thread Emanuele Milani
Indeed! All tests pass! Thank you! On Tuesday, October 28, 2014 9:52:22 AM UTC+1, Andrey Lomakin wrote: Fixed. On Fri, Oct 24, 2014 at 12:21 PM, Emanuele Milani milani.em...@gmail.com javascript: wrote: Thank you very much! On Friday, October 24, 2014 9:49:11 AM UTC+2, Andrey Lomakin

Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-24 Thread Rani Pinchuk
Hi all, Could this question be clarified indeed? Is it correct that two Vertex objects which are referring to the same record cannot be used safely? So, when a change to the record is done using one of the Vertex object, is this change reflected always when using the other Vertex

Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-22 Thread Emanuele Milani
Hi Andrey, I tried the same code with 2.0-SNAPSHOT (build 363), but unfortunetely the problem is still there. Could you also replicate it? I also tried to check if my local cache is enabled, but I only found in the docs that it should be enabled by default. I am now adding a small maven project

Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-22 Thread Emanuele Milani
Hi all, If anyone is interested, here is a small maven project which replicates the issue with some variations (AutostartTx, same or different value is written to the record...): https://github.com/emmedemme/OrientDBTests.git To run the tests, from the root directory of the project: mvn

[orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-21 Thread Emanuele Milani
Hi all! I am in the process of debugging an application based on OrientDB (2.0M2). The problem I am facing are some OConcurrentModificationException. The issue appears with both the memory and the plocal storage engines (I did not try remote). It looks they are caused by the fact that multiple

Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-21 Thread Andrey Lomakin
Hi, Do you have local cache enabled ? It explicitly created to avoid such problems. On Tue, Oct 21, 2014 at 12:48 PM, Emanuele Milani milani.emanuele...@gmail.com wrote: Hi all! I am in the process of debugging an application based on OrientDB (2.0M2). The problem I am facing are some

Re: [orientdb] Multiple vertex objects referring to the same database record are not in sync

2014-10-21 Thread Andrey Lomakin
Hi I got reason of your issue, could you try 2.0-SNAPSHOT. Problem should be fixed there. On Tue, Oct 21, 2014 at 1:59 PM, Andrey Lomakin lomakin.and...@gmail.com wrote: Hi, Do you have local cache enabled ? It explicitly created to avoid such problems. On Tue, Oct 21, 2014 at 12:48 PM,