Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Check Sum Error [MIRROR]

Hi,

We are getting checksum error when recovering data from the Mark Logic datastore via mirror. When persisting the POJO in DB. Gigiaspace created the checksum without taking into account the Super class. However when restarting our PUs. Gigaspace is trying to create the checksum including the Super Class. Below should explain my problem.

class A extends B{ }

[gsc][2/11532] Type=[A],

Server checksum=[-1263363742], Operation checksum=[-3959519].

[gsc][2/11532] Server type description:

[gsc][2/11532] Super classes: 2

[gsc][2/11532] 1: Type=[A]

[gsc][2/11532] 2: Type=[java.lang.Object]

[gsc][2/11532] Properties: 4

[gsc][2/11532] 1: Name=[x], Type=[X]

[gsc][2/11532] 2: Name=[y], Type=[Y]

[gsc][2/11532] 3: Name=[z], Type=[java.lang.Integer]

[gsc][2/11532] 4: Name=[spaceId], Type=[java.lang.String]

[gsc][2/11532] Checksum: -1263363742.

[gsc][2/11532]

[gsc][2/11532] Operation type description:

[gsc][2/11532] Super classes: 3

[gsc][2/11532] 1: Type=[A]

[gsc][2/11532] 2: Type=[B]

[gsc][2/11532] 3: Type=[java.lang.Object]

[gsc][2/11532] Properties: 4

[gsc][2/11532] 1: Name=[z], Type=[java.lang.Integer]

[gsc][2/11532] 2: Name=[spaceId], Type=[java.lang.String]

[gsc][2/11532] 3: Name=[x], Type=[X]

[gsc][2/11532] 4: Name=[y], Type=[Y]

[gsc][2/11532] Checksum: -3959519.

asked 2014-09-22 08:18:50 -0500

Harvey gravatar image

updated 2014-09-22 08:42:03 -0500

edit retag flag offensive close merge delete

Comments

any suggestions ??

Harvey gravatar imageHarvey ( 2014-09-23 01:31:01 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

Hi,

We are using the same check sum mechanism when persist the object to DB and when restoring the objects from DB to the space (initial load). It seems the the object what changed. Please attach full logs.

Regards,

Yuval

answered 2014-09-23 02:39:09 -0500

Yuval gravatar image
edit flag offensive delete link more

Comments

Hi Yuval,

I cant share the logs, but i can assure that atleast class structure didnt change after persisting the data. And from logs we clearly see that while persisting the data first time. It doesnt uses the base class to calculate checksum but when reading the data back it uses the baseclass. Please note that we are using MarkLogic NoSQL DB to store the entries

Harvey gravatar imageHarvey ( 2014-09-23 03:01:36 -0500 )edit

Hi,

Can you please open a support case and attach the logs?

Yuval gravatar imageYuval ( 2014-09-28 06:50:26 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-09-22 08:18:50 -0500

Seen: 62 times

Last updated: Sep 23 '14