Excellent!

On Fri, Jul 31, 2009 at 12:29 PM, Jay Pipes <[email protected]> wrote:

> Hi all,
>
> I just added built-in CRC32 checksumming to the Command Log plugin in my
> replication branch:
>
> http://bazaar.launchpad.net/~jaypipes/drizzle/replication/revision/1083<http://bazaar.launchpad.net/%7Ejaypipes/drizzle/replication/revision/1083>
>
> This changes the log format to write serialized Command GPB messages into
> the log file encapsulated by an 8-byte length header and a 4-byte CRC32
> checksum trailer.  This means the command log now writes messages one after
> the other into the log like so:
>
> --------------------------------------------------------------
> |<- 8 bytes ->|<- # Bytes of Command Message ->|<- 4 bytes ->|
> --------------------------------------------------------------
> |   Length    |   Serialized Command Message   |   Checksum  |
> --------------------------------------------------------------
>
> This will allow subscribers to a publisher feed to validate the bytes read
> from the publisher.
>
> More coming later...comments and criticism most welcome and appreciated.
>
> Cheers,
>
> Jay
>
> _______________________________________________
> Mailing list: 
> https://launchpad.net/~drizzle-discuss<https://launchpad.net/%7Edrizzle-discuss>
> Post to     : [email protected]
> Unsubscribe : 
> https://launchpad.net/~drizzle-discuss<https://launchpad.net/%7Edrizzle-discuss>
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to