LogRecordSequence.RestartSequenceNumber Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the sequence number of the restart area closest to the end of the log.
public:
property System::IO::Log::SequenceNumber RestartSequenceNumber { System::IO::Log::SequenceNumber get(); };
public System.IO.Log.SequenceNumber RestartSequenceNumber { get; }
member this.RestartSequenceNumber : System.IO.Log.SequenceNumber
Public ReadOnly Property RestartSequenceNumber As SequenceNumber
Property Value
The sequence number of the restart area closest to the end of the log.
Implements
Exceptions
The property was accessed after the sequence has been disposed of.
Remarks
A restart area is used to temporarily store information containing a client's last checkpoint operation. The Common Log File System (CLFS) maintains two restart areas to guarantee that at least one valid area is always available. When a recovery is necessary, the CLFS reads its restart area and all the data from the last checkpoint operation. This data initializes the transaction table, dirty pages table, and open file table so they can be used in the recovery process.
Using the SetLastRecord method, you can remove the most recently written restart area.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈