Hi Jay,

It depends.  Are you using saCkptSectionOverwrite or (as I suspect)
saCkptCheckpointWrite()?
Overwrite will alter the size of a section, effectively truncating it.
Using Write to modify a subset of a section doesn't change the data in the
rest of the section nor the section's overall size.  A section can grow if
you were to Write, say, 400 bytes, but it won't shrink unless you explicitly
use Overwrite.

Cheers,
Glenn Nethercutt

On Tue, Apr 8, 2008 at 5:53 AM, jay_chen <[EMAIL PROTECTED]> wrote:

> Hello~
>
> I am using version 0.80.3 and I have one question about CKPT service.
>
> First, I write to the same section with variable size, such as 100, 200,
> 300, 250, 150, 50.
> And then, I read that section.
> But the readSize in SaCkptIOVectorElementT seems always return the largest
> value that I have ever written.
> (in above example, readSize  is 300)
>
> I expect the value will be the latest value that I have written.
> (in above example, I expect 50)
>
> Do I misunderstand something? Is this a bug in CKPT Service?
>
> Thanks in advance.
>
>            Jay...
>
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to