GOODS CRC check failed for transaction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

GOODS CRC check failed for transaction

Dan Corneanu
Hi,
I've just installed goods-3.04 and the last GOODS client from monticello
GOODS-cds.94. I am not able to commit a very simple transaction. This is
the code I'm trying to evaluate:

db := KKDatabase onHost: 'localhost' port: 2000.
db root: KKIdentityBTree new.
db commit.
db logout.

I get a KKCommitFailure signal and the server is telling me that
"CRC check failed for transaction from client squeak12152AC". Any idea
what could be wrong? or where to start digging?

Best regards,
cdan.

Reply | Threaded
Open this post in threaded view
|

Re: GOODS CRC check failed for transaction

Adrian Lienhard
Hi Dan,

This is because the protocol changed from version 2 to 3. The client  
is supposed to send a CRC checksum when committing data. For the time  
being we just disabled the check on the server side (commented out a  
few lines in the C code). The new version works well (we had some  
strange problems with the older ones that seem to be gone now).

Adrian

On Apr 9, 2007, at 21:42 , Dan Corneanu wrote:

> Hi,
> I've just installed goods-3.04 and the last GOODS client from  
> monticello
> GOODS-cds.94. I am not able to commit a very simple transaction.  
> This is
> the code I'm trying to evaluate:
>
> db := KKDatabase onHost: 'localhost' port: 2000.
> db root: KKIdentityBTree new.
> db commit.
> db logout.
>
> I get a KKCommitFailure signal and the server is telling me that
> "CRC check failed for transaction from client squeak12152AC". Any idea
> what could be wrong? or where to start digging?
>
> Best regards,
> cdan.
>


Reply | Threaded
Open this post in threaded view
|

Re: GOODS CRC check failed for transaction

Dan Corneanu
Hi,
thanks for the advice. I've done the same and it seems to be working.

Best regards,
cdan.

Adrian Lienhard wrote:

> Hi Dan,
>
> This is because the protocol changed from version 2 to 3. The client is
> supposed to send a CRC checksum when committing data. For the time being
> we just disabled the check on the server side (commented out a few lines
> in the C code). The new version works well (we had some strange problems
> with the older ones that seem to be gone now).
>
> Adrian
>
> On Apr 9, 2007, at 21:42 , Dan Corneanu wrote:
>
>> Hi,
>> I've just installed goods-3.04 and the last GOODS client from monticello
>> GOODS-cds.94. I am not able to commit a very simple transaction. This is
>> the code I'm trying to evaluate:
>>
>> db := KKDatabase onHost: 'localhost' port: 2000.
>> db root: KKIdentityBTree new.
>> db commit.
>> db logout.
>>
>> I get a KKCommitFailure signal and the server is telling me that
>> "CRC check failed for transaction from client squeak12152AC". Any idea
>> what could be wrong? or where to start digging?
>>
>> Best regards,
>> cdan.
>>
>
>
>
>