Date
1 - 4 of 4
Removing a vertex is not removing recently added properties in different transaction
Priyanka Jindal
I am using janus client with hbase as storage backend.
In my case, I am using index ind1 to fetch vertices from the graph. Upon fetching I am adding some properties (e.g one such property is p1) to the vertices and committing the transaction. In the next transaction, I am fetching the vertices using index ind2 where one key in the index is the property (p1) added in the last transaction. I get the vertices and remove them. Vertices are reported to be removed successfully. But sometimes they are still present with only the properties (p1) added in the previous transaction. Although other properties/edges have been removed. This is happening very intermittently. It would be really helpful if someone has an idea about this and can explain me. |
|
hadoopmarc@...
The behavior you describe sounds like the behavior one experiences for transactions occurring in parallel. So let us investigate some further:
Marc |
|
Priyanka Jindal
Please find my answers inline:
- i am suing composite index
- They do not overlap in time.
- Yes they do
- Its a cluster. If i add some delay b/w two operations then vertices are getting removed correctly. |
|
hadoopmarc@...
Hi Priyanka,
The case you describe sounds suspect and might be a JanusGraph issue. Your last remark ("If i add some delay b/w two operations then vertices are getting removed correctly.") gives an important clue as to what is going on. A few additional questions:
Best wishes, Marc |
|