mirror of
https://github.com/neondatabase/neon.git
synced 2026-07-08 14:40:37 +00:00
Revert "make sure the getpage requests happens"
This reverts commit a62b2e3e76.
This commit is contained in:
@@ -883,8 +883,8 @@ impl Timeline {
|
||||
match cached_lsn.cmp(&lsn) {
|
||||
Ordering::Less => {} // there might be WAL between cached_lsn and lsn, we need to check
|
||||
Ordering::Equal => {
|
||||
// MATERIALIZED_PAGE_CACHE_HIT_DIRECT.inc();
|
||||
// return Ok(cached_img); // exact LSN match, return the image
|
||||
MATERIALIZED_PAGE_CACHE_HIT_DIRECT.inc();
|
||||
return Ok(cached_img); // exact LSN match, return the image
|
||||
}
|
||||
Ordering::Greater => {
|
||||
unreachable!("the returned lsn should never be after the requested lsn")
|
||||
|
||||
@@ -292,18 +292,6 @@ def test_vm_bit_clear_on_heap_lock_blackbox(neon_env_builder: NeonEnvBuilder):
|
||||
# already truncated away.
|
||||
#
|
||||
# ERROR: could not access status of transaction 1027
|
||||
|
||||
# the select() below fails occassionally at get_impl="vectored" validation
|
||||
|
||||
env.pageserver.stop()
|
||||
env.pageserver.start()
|
||||
time.sleep(2)
|
||||
env.pageserver.http_client().patch_tenant_config_client_side(tenant_id, {"test_vm_bit_debug_logging": True}, {})
|
||||
endpoint.stop(mode="immediate")
|
||||
endpoint.start()
|
||||
pg_conn = endpoint.connect()
|
||||
cur = pg_conn.cursor()
|
||||
# cur.execute("select clear_buffer_cache()")
|
||||
cur.execute("select xmin, xmax, * from vmtest_lock where id = 40000 for update")
|
||||
tup = cur.fetchall()
|
||||
log.info(f"tuple = {tup}")
|
||||
|
||||
Reference in New Issue
Block a user