Revert "Save page received from page server in local file cache"

This reverts commit 137472db91.
This commit is contained in:
Konstantin Knizhnik
2021-09-24 18:04:21 +03:00
parent 137472db91
commit b51d3f6b2b
3 changed files with 3 additions and 4 deletions

View File

@@ -324,7 +324,6 @@ impl PostgresNode {
max_connections = 100\n\
wal_sender_timeout = 0\n\
wal_level = replica\n\
zenith.file_cache_size = 4096\n\
listen_addresses = '{address}'\n\
port = {port}\n",
address = self.address.ip(),

View File

@@ -12,5 +12,5 @@ def test_pgbench(postgres: PostgresFactory, pg_bin, zenith_cli):
connstr = pg.connstr()
pg_bin.run_capture(['pgbench', '-i', '-s', '100', connstr])
pg_bin.run_capture(['pgbench'] + '-c 10 -T 100 -N -P 1 -M prepared'.split() + [connstr])
pg_bin.run_capture(['pgbench', '-i', connstr])
pg_bin.run_capture(['pgbench'] + '-c 10 -T 5 -P 1 -M prepared'.split() + [connstr])