What does Windows error code 6645 (ERROR_LOG_METADATA_FLUSH_FAILED) mean?

 
Previous Next
ERROR_LOG_PINNED ERROR_LOG_INCONSISTENT_SECURITY

ERROR_LOG_METADATA_FLUSH_FAILED

Log metadata flush failed.

ERROR_LOG_METADATA_FLUSH_FAILED is Win32 error 6645 (0x000019F5) and concerns persisting CLFS metadata.

Where the result appears

  • finishing a container change.
  • updating restart areas.
  • closing a log after metadata changes.
  • making a log-growth or policy operation durable.

What to verify

Verify whether updated base-log and container metadata reaches durable storage in the required order. Check metadata operation being committed, flush completion status, and volume and controller events.

Likely causes

  • the volume rejected a flush.
  • metadata storage is corrupt or inaccessible.
  • the device reported a write-cache or media error.
  • the log lost access during the flush.
  • a shutdown or failover interrupted the durability barrier.

Troubleshooting steps

  1. Collect metadata operation being committed.
  2. Record flush completion status.
  3. Correlate volume and controller events with the owning application log, CLFS-related System events, storage events, and any transaction or recovery trace.

Handling, retry, and recovery

Treat durability as unknown, stop further mutations, verify the log on stable storage, repair or restore the coordinated log set, and repeat only after metadata consistency is proven.

Related errors

ERROR_LOG_APPENDED_FLUSH_FAILED concerns appended records or reservations; this code concerns the log metadata that describes the log itself.

Example

A container is added and its file is created, but the metadata flush fails during storage failover. The service avoids assuming the addition committed and reopens the log to discover the authoritative container set.

References


Looking for a different code? Search another status or error code.