This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
export PATH=$(pwd)/target/debug/:$(pwd)/tmp_install/bin:$PATH | |
# Remove all traces of the previous run | |
killall pageserver | |
killall wal_acceptor | |
killall postgres | |
rm -rf zenith_tmp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @@ -569,6 +569,21 @@ PushPage(StringInfo input_message) | |
/* | |
* Every backend on the compute side will verify the page checksum | |
* after reading it from pageserver using GetPage@LSN. Here in the | |
* WAL redo process we are reading pages directly from stdin, so we | |
* would better verify checksum too before applying any WAL records | |
* on top of it. | |
*/ | |
if (!PageIsVerifiedExtended((Page) content, blknum, | |
PIV_LOG_WARNING | PIV_REPORT_STAT)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
import time | |
import contextlib | |
from pprint import pprint | |
import psycopg2 |
OlderNewer