Skip to content

Commit ff2d526

Browse files
Anil RuiaMsftBrettShirley
authored andcommitted
Probable fix for JET_errInternalError issue hitting store tests
Caused by the fix for header update race bugfix which makes the header not updatable until database is reattached [Substrate:4307926c74bc7fac44627665302248498e81bff2]
1 parent 23e26e6 commit ff2d526

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

dev/ese/src/ese/_log/log.cxx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3491,11 +3491,9 @@ ERR LOG::ErrLGUpdateWaypointIFMP( IFileSystemAPI *const pfsapi, _In_ const IFMP
34913491
&fSkippedAttachDetach,
34923492
ifmpTarget ) );
34933493

3494-
if ( fSkippedAttachDetach )
3495-
{
3496-
Assert( ifmpTarget == ifmpNil ); // only can happen if we're trying to update all IFMPs.
3497-
Error( ErrERRCheck( JET_errInternalError ) );
3498-
}
3494+
// fSkippedAttachDetach can happen if we're trying to update all IFMPs and some of them
3495+
// have not yet been reattached.
3496+
Assert( !fSkippedAttachDetach || ifmpTarget == ifmpNil );
34993497

35003498
HandleError:
35013499
if ( fOwnsChkptCritSec )

0 commit comments

Comments
 (0)