You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a problem when I try to traverse from a newly created vertex in batch query below.
This batch worked fine with OrientDB version 2.2.30. After I upgraded database to 2.2.32, the batch query failed with logs attached in Error Log. I also tested with latest OrientDB 2.2.33 and also recreating the database, but there was still the same error.
Anyway, the error is gone when I configure ridBag option in orientdb-server-config.xml as following: <entry name="ridBag.embeddedToSbtreeBonsaiThreshold" value="-1"/>
Currently, my database is not in distributed mode, but I plan to enable distributed mode in the future. Then, I am not quite sure that this configuration is good solution.
Is there another configuration to fix this error?
Should I change my query?
Batch Query
begin
let root_thumb = select from #14:1
let drive = create vertex drives set name="temp", size=0, usage=0,acl={"user1@test.com":126},datetime=sysdate(),modtime=sysdate()
create edge HardLink from $drive to $root_thumb set type='thumbdrive'
update (select from (traverse out('HardLink') from $drive) where @Class = 'folders') increment size=0
update (select from (traverse out('HardLink', 'MemberOf') from $drive) where @Class = ['users','domains']) increment usage=0
delete vertex from (select from $drive)
commit retry 100
Remark : #14:1 is a rid of vertex that connects with another root vertex.
OrientDB Version: 2.2.33
Java Version: 1.8.0_152
OS: FreeBSD 11.0-RELEASE-p1
I have a problem when I try to traverse from a newly created vertex in batch query below.
This batch worked fine with OrientDB version 2.2.30. After I upgraded database to 2.2.32, the batch query failed with logs attached in Error Log. I also tested with latest OrientDB 2.2.33 and also recreating the database, but there was still the same error.
Anyway, the error is gone when I configure ridBag option in orientdb-server-config.xml as following:
<entry name="ridBag.embeddedToSbtreeBonsaiThreshold" value="-1"/>
Currently, my database is not in distributed mode, but I plan to enable distributed mode in the future. Then, I am not quite sure that this configuration is good solution.
Is there another configuration to fix this error?
Should I change my query?
Batch Query
begin
let root_thumb = select from #14:1
let drive = create vertex drives set name="temp", size=0, usage=0,acl={"user1@test.com":126},datetime=sysdate(),modtime=sysdate()
create edge HardLink from $drive to $root_thumb set type='thumbdrive'
update (select from (traverse out('HardLink') from $drive) where @Class = 'folders') increment size=0
update (select from (traverse out('HardLink', 'MemberOf') from $drive) where @Class = ['users','domains']) increment usage=0
delete vertex from (select from $drive)
commit retry 100
Remark : #14:1 is a rid of vertex that connects with another root vertex.
Error Log
Full error log -> ordb-error.log
The text was updated successfully, but these errors were encountered: