The set-last-read-generation task sets the last-read generation for a given client ID. This task is the counterpart of clean-last-read-generation.

As a result, you are setting the state for that client. This task is mainly used to save the last-read generation for use by a future delta read.

The syntax for this task is:

recordstore-cmd set-last-read-generation  -a RecordStoreInstanceName -g GenId 
-c ClientId [-h HostName] [-l true|false] [-p PortNumber] [-x Id]

where:

Typically, you use this command so that the Record Store instance can save the state. For example, if you do a baseline-read of Generation 2, you might later come back to the Record Store instance and do a delta read of your last-read generation (in this case it is Generation 2) and the most recently-committed generation. So you would save the first baseline-read of Generation 2 for the client, for example, forge1, and then perform a delta read later after getting the last-read generation.



Copyright © Legal Notices