-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facing SEVER Magic number verification failed for page 0
of xxxxx.pcl
. [OWOWCache]
#8560
Comments
H @ssenapat , sure will try this case. Small question, do you create new classes during the addition of edges/ vertexes, or you create all schema before head? |
Thanks Andrew,
The steps I followed are as follows.
Using the GUI tool,
1. Created vertex class.
Specifically by clicking the new vertex button . I guess this creates a
class derived from V.
2. Added properties to the newly created Vertex class.
3. Added records to the vertex.
4. Created Edges Class.
Specifically by clicking the new Edge button. I guess this creates a new
class derived from E.
5. Added properties to the newly created Edge class.
6. Using the query created Edges between vertex and set the property values
to. Edge.
Ex: create edge e1 from ....
Regards,
Srinivasa Senapathi.
…On Mon, Sep 24, 2018 at 4:04 AM Andrey Lomakin ***@***.***> wrote:
H @ssenapat <https://github.com/ssenapat> , sure will try this case.
Small question, do you create new classes during the addition of edges/
vertexes, or you create all schema before head?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8560 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ack5RfGOgClSzn-6KJPF64fmXbCddrGaks5ueKACgaJpZM4W178M>
.
|
Adding more info.
Using the GUI options steps 1 to 9 are executed.
1. Created Vertex Class CV extending V
2. Added Properties to CV
3. Created Vertex Class Props extending V
3. Added Properties to Props
4. Created Vertex Class ContactProps extending V
5. added Properties to ContactProps
6. Added Record to CV
7.Added Record to Props
8. Created Edge Class cvHasProps extending E
9. Added propertes to cvHasProps
using Query step 10 is executed
10. Created Edge cvHasProps From (select from CV where @Rid = #22: 0) To
(select from Props) Set LanguageCode = "en"
using GUI options
11. Created Edge class cvHasContactProps extending E
12. Added properties to cvHasContactProprs
using Query step 13 is executed
12. Create Edge cvHasContactProps From (select from CV where @Rid = #22:0)
To (Select from ContactProps) Set LanguageCode = "en"
using GUI options
13. Create Vertex Class Organization Extending V
14. Added properties to Organization
15. Added records to Organization
16. Created Edge Class Worked extending E
17. Added properties to Worked
using query
18. Create Edge From (select from CV where @Rid = #22:0) to (Select from
Organization where @Rid= #xx:0) Set LanguageCode = "en"
followed similar pattern in creating few more edges and vertex.
On Mon, Sep 24, 2018 at 8:46 AM Srinivasa Senapathi <
[email protected]> wrote:
… Thanks Andrew,
The steps I followed are as follows.
Using the GUI tool,
1. Created vertex class.
Specifically by clicking the new vertex button . I guess this creates a
class derived from V.
2. Added properties to the newly created Vertex class.
3. Added records to the vertex.
4. Created Edges Class.
Specifically by clicking the new Edge button. I guess this creates a new
class derived from E.
5. Added properties to the newly created Edge class.
6. Using the query created Edges between vertex and set the property
values to. Edge.
Ex: create edge e1 from ....
Regards,
Srinivasa Senapathi.
On Mon, Sep 24, 2018 at 4:04 AM Andrey Lomakin ***@***.***>
wrote:
> H @ssenapat <https://github.com/ssenapat> , sure will try this case.
> Small question, do you create new classes during the addition of edges/
> vertexes, or you create all schema before head?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#8560 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/Ack5RfGOgClSzn-6KJPF64fmXbCddrGaks5ueKACgaJpZM4W178M>
> .
>
|
Few more points
I have some edges with many properties. Does that cause any issue?
example
Organization
Name
City
State
StateCode
Country
CountryCode
The Worked Edge has below properties
FromDate
ToDate
Title
Description
LangaugeCode
Order
Complete
City
State
StateCode
Country
CountryCode
Edges created from CV to Organization
The Woks Edge has below propertes
FromDate
Title
Description
LangaugeCode
Order
Complete
City
State
StateCode
Country
CountryCode
Edges created from CV to Organization
Institute Vertex Class with propeties
Name
City
State
StateCode
Country
CountryCode
Edge Studied Class with below propeties
FromDate
ToDate
Degree
Description
City
State
StateCode
Country
CountryCode
LangugaeCode
Complete
Order
Created Studied Edges from CV to Institute
Similarly Persuing Edge class
FromDate
Degree
Description
City
State
StateCode
Country
CountryCode
LangugaeCode
Complete
Order
Created Persuing Edges from CV to Institute
On Mon, Sep 24, 2018 at 10:33 AM Srinivasa Senapathi <
[email protected]> wrote:
… Adding more info.
Using the GUI options steps 1 to 9 are executed.
1. Created Vertex Class CV extending V
2. Added Properties to CV
3. Created Vertex Class Props extending V
3. Added Properties to Props
4. Created Vertex Class ContactProps extending V
5. added Properties to ContactProps
6. Added Record to CV
7.Added Record to Props
8. Created Edge Class cvHasProps extending E
9. Added propertes to cvHasProps
using Query step 10 is executed
10. Created Edge cvHasProps From (select from CV where @Rid = #22: 0) To
(select from Props) Set LanguageCode = "en"
using GUI options
11. Created Edge class cvHasContactProps extending E
12. Added properties to cvHasContactProprs
using Query step 13 is executed
12. Create Edge cvHasContactProps From (select from CV where @Rid =
#22:0) To (Select from ContactProps) Set LanguageCode = "en"
using GUI options
13. Create Vertex Class Organization Extending V
14. Added properties to Organization
15. Added records to Organization
16. Created Edge Class Worked extending E
17. Added properties to Worked
using query
18. Create Edge From (select from CV where @Rid = #22:0) to (Select from
Organization where @Rid= #xx:0) Set LanguageCode = "en"
followed similar pattern in creating few more edges and vertex.
On Mon, Sep 24, 2018 at 8:46 AM Srinivasa Senapathi <
***@***.***> wrote:
> Thanks Andrew,
>
> The steps I followed are as follows.
> Using the GUI tool,
> 1. Created vertex class.
> Specifically by clicking the new vertex button . I guess this creates a
> class derived from V.
>
> 2. Added properties to the newly created Vertex class.
>
> 3. Added records to the vertex.
>
> 4. Created Edges Class.
> Specifically by clicking the new Edge button. I guess this creates a new
> class derived from E.
>
> 5. Added properties to the newly created Edge class.
>
> 6. Using the query created Edges between vertex and set the property
> values to. Edge.
> Ex: create edge e1 from ....
>
> Regards,
> Srinivasa Senapathi.
>
>
>
> On Mon, Sep 24, 2018 at 4:04 AM Andrey Lomakin ***@***.***>
> wrote:
>
>> H @ssenapat <https://github.com/ssenapat> , sure will try this case.
>> Small question, do you create new classes during the addition of edges/
>> vertexes, or you create all schema before head?
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#8560 (comment)>,
>> or mute the thread
>> <https://github.com/notifications/unsubscribe-auth/Ack5RfGOgClSzn-6KJPF64fmXbCddrGaks5ueKACgaJpZM4W178M>
>> .
>>
>
|
That is for sure, can not create a problem. @ssenapat I will look on this issue in a couple of days. Will need to fix another issue first. |
I would like to add one more point.
The console is not starting up. It throws below exception. The Java version
1.8 is installed on the system. Is there any incompatibility issue with
this version.
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/orientechnologies/orient/console/OConsoleDatabaseApp : Unsupported
major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at
sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
…On Tue, Sep 25, 2018 at 4:12 AM Andrey Lomakin ***@***.***> wrote:
That is for sure, can not create a problem. @ssenapat
<https://github.com/ssenapat> I will look on this issue in a couple of
days. Will need to fix another issue first.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8560 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ack5Ray8E-GnUQh8cOGOTkR24GSAt3N7ks5uefOHgaJpZM4W178M>
.
|
@Laa any update on this, we are also facing this issue. |
They could not reproduce this issue.
I tried two times to upload new data and it crashed. I lost all the data
that was uploaded.
I am not worried because it was POC data. But it gave me a clear picture
that it is too risky to use this product.
It would be disaster to the business, to loose the production data.
So I am evaluating Amazon Neptune and Microsoft Cosmos DB.
…On Wed, Oct 10, 2018 at 9:04 PM Piyush Mathur ***@***.***> wrote:
@Laa <https://github.com/laa> any update on this, we are also facing this
issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#8560 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ack5RUsSlmPt6mERt6iErfPhn4aAoL5hks5ujqcbgaJpZM4W178M>
.
|
@gtadudeps if you provide me test which will reproduce the issue I will fix it quickly, as I wrote @ssenapat, right now we are busy with issues on commercial support. @ssenapat was not right that we can not reproduce the issue, right now we work on other issues, not on this one, but if you provide me test which will likely reproduce issue it will speed up fix of your problem. |
Confirmed that we are also seeing this in 3.0.8 and it's quite unfortunate. I can't provide much to test as I'm not sure why it happens but we had to renew a lot of our servers as we had a few issues and had them synced over time. Also we have updated the writeQuorum from 3 to 1 quite painfully. 2018-10-11 13:39:53:076 SEVER Magic number verification failed for page That's about all we can see. This is pretty serious. Everything syncs back in distributed mode then this happens randomly. We have 12GB of RAM, distributed, 3 servers well synced and started, working for a couple hours (after a long downtime) and then it starts to happen and then it doesn't get out of it. Note that aside the previous resync, no downtime happened, no crash, we always use shutdown.sh to stop a server, etc... Using it pretty properly. |
Switching off the WAL (as recommended by the doc now we use SSDs) brings an |
@nicolasembleton wouldn't switching off WAL causes reliability issues and is too risky by itself to ensure data consistency. Moreover, is it solving this issue? |
@Laa this issue is quite random so no fixed steps to reproduce it, but one way could be to continuously perform write operations and intermittently restart orientdb. Please take it on high priority as we need to clear this to go beta, we were also pushing the management to procure enterprise edition of orientdb but this severely weakens our case. |
Hi, we have made several changes to improve durability system, could you try on 3.0.9? |
@gtadudeps it is solving the magic number issue when using an SSD yes. It is the recommended setting when using an SSD so I'd assume it's still @Laa that's great. Thanks for the heads up. We are going to test that out. |
@nicolasembleton it is strongly not recommended to switch off WAL. Looking forward to your feedback. |
@Laa I think the doc should be updated because on this page: https://orientdb.com/docs/last/Write-Ahead-Log.html it says update: Reading it back I think I understand the ambiguity that I may have missed. This piece said |
We have this problem now. In log: "Magic number verification failed for page But such problems very seriously inhibit the process. |
@209 could you send me stack trace which is printed when you see this exception? |
But please do load from the empty database. |
@209 I have provided small change, just to be sure that your problem is fixed in 3.0.16, we release it next week. Please try this distribution and provide me feedback with a stack trace if that happens again (hope not). |
@Laa I see, OrientDB was updated, but docker container isn't. I can't try new version. |
Hi @209 The pull request was submitted to Docker a few hours ago, but it takes some time to be approved. I'd suggest you to check again in next 24/48 hours Thanks Luigi |
OrientDB Version: 3.0.7
Java Version: 1.8
OS: Centos
RAM : 512 MB
Expected behavior
should work with out loosing vertexes, edges and the data.
Actual behavior
I was creating a new database model, creating vertexes, edges and inserting data.
Suddenly OrientDB crashes and restarts. After restart I see the vertexes and the edges are lost.
The log show many verification failed messages.
SEVER Magic number verification failed for page
0
ofcvcontactprops.pcl
. [OWOWCache]Steps to reproduce
it had happened couple of times.
I am sure there is something is wrong. My guess is the RAM of 512 is causing the crash but not sure.
I appreciate you help in this. Attaching
the log file.
The text was updated successfully, but these errors were encountered: