[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#7862) slapd crash on modifications after host hard reset (in mdb)



Michael.Levitin@billing.ru wrote:
> --_000_6D4FA1DFD570AD4CBACDA9117C4A2125024BF1C541SRVEXCHMBX1bi_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> "What health status? The mdb_stat command will return info about the DB."
> mdb_stat returns segmentation fault. Guess it's not sufficient info.
> The question is - is there any method to check file consistence ? ( i.e. fi=
> le structure is not corrupted during power reset.)

No. If you want protection from power reset, you must use regular synchronous 
writes.

> Thanks.
>
> Mikhail
>
>
>
> --_000_6D4FA1DFD570AD4CBACDA9117C4A2125024BF1C541SRVEXCHMBX1bi_
> Content-Type: text/html; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> <html>
> <head>
> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>>
> <meta name=3D"Generator" content=3D"Microsoft Exchange Server">
> <!-- converted from rtf -->
> <style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
>   #800000 2px solid; } --></style>
> </head>
> <body>
> <font face=3D"Calibri" size=3D"2"><span style=3D"font-size:11pt;">
> <div>&#8220;What health status? The mdb_stat command will return info about=
>   the DB. &#8220;</div>
> <div>mdb_stat returns segmentation fault. Guess it's not sufficient info.</=
> div>
> <div>The question is &#8211; is there any method to check file consistence =
> ? ( i.e. file structure is not corrupted during power reset.)</div>
> <div>&nbsp;</div>
> <div>Thanks.</div>
> <div>&nbsp;</div>
> <div>Mikhail</div>
> <div>&nbsp;</div>
> <div>&nbsp;</div>
> </span></font>
> </body>
> </html>
>
> --_000_6D4FA1DFD570AD4CBACDA9117C4A2125024BF1C541SRVEXCHMBX1bi_--
>
>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/