Re: Online verification of checksums

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Online verification of checksums
Дата
Msg-id alpine.DEB.2.21.1809191738070.901@lancre
обсуждение исходный текст
Ответ на Re: Online verification of checksums  (Michael Banck <michael.banck@credativ.de>)
Ответы Re: Online verification of checksums  (Michael Banck <michael.banck@credativ.de>)
Список pgsql-hackers
Hallo Michael,

Patch v3 applies cleanly, code compiles and make check is ok, but the 
command is probably not tested anywhere, as already mentioned on other 
threads.

The patch is missing a documentation update.

There are debatable changes of behavior:

    if (errno == ENOENT) return / continue...

For instance, a file disappearing is ok online, but not so if offline. On 
the other hand, the probability that a file suddenly disappears while the 
server offline looks remote, so reporting such issues does not seem 
useful.

However I'm more wary with other continues/skips added. ISTM that skipping 
a block because of a read error, or because it is new, or some other 
reasons, is not the same thing, so should be counted & reported 
differently?

   + if (block_retry == false)

Why not trust boolean operations?

   if (!block_retry)

-- 
Fabien.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - add pseudo-random permutation function
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Implementing SQL ASSERTION