FIX: Error 9002 when there is no sufficient disk space for critical log growth in SQL Server 2014, 2016, and 2017

Applies to: SQL Server 2014 Service Pack 2SQL Server 2014 DeveloperSQL Server 2014 Enterprise


When you run several non-file-growth operations such as backup in Microsoft SQL Server 2014, 2016, or 2017, the operations may use up all the disk space, and there is no sufficient space for critical log growth. Because the database cannot create more log space, database modifications and synchronization with secondaries fail, recovery fails, and the database cannot be brought online. Additionally, you may receive one or more of the following error messages:

  • Error 9002, Severity: 17, State: 9.
    The transaction log for database 'DatabaseName' is full due to 'AVAILABILITY_REPLICA'
  • Warning 3052: Msg 3052, Level 16, State 1, Line LineNumber
    BACKUP LOG was unable to log updates for database 'DatabaseName'.
    Subsequent log backups will be required to advance the backup point from 'LSNID1' to 'LSNID2' after log space is made available for logging them.
  • Error 3314
    During undoing of a logged operation in database 'DatabaseName', an error occurred at log record ID %S_LSN. Typically, the specific failure is logged previously as an error in the Windows Event Log service. Restore the database or file from a backup, or repair the database.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.