From 1299da6f0e0b33101d6fbc1a96162f786977c875 Mon Sep 17 00:00:00 2001 From: dongning12 Date: Fri, 17 May 2024 09:27:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B5=84=E6=BA=90=E6=B1=A0=E5=8C=96?= =?UTF-8?q?=E3=80=91=E3=80=90bugfix=E3=80=91=E5=88=A0=E9=99=A4=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=A0=A1=E9=AA=8C=EF=BC=8C=E9=A1=B5=E9=9D=A2=E4=B8=BA?= =?UTF-8?q?=E8=84=8F=E6=97=B6=E5=AD=98=E5=9C=A8=E9=A1=B5=E9=9D=A2=E6=97=B6?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=9A=84=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/include/ddes/dms/ss_dms_bufmgr.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/include/ddes/dms/ss_dms_bufmgr.h b/src/include/ddes/dms/ss_dms_bufmgr.h index c4bce2d4e..6d6b4aa91 100644 --- a/src/include/ddes/dms/ss_dms_bufmgr.h +++ b/src/include/ddes/dms/ss_dms_bufmgr.h @@ -91,9 +91,6 @@ inline bool SSBufferIsDirty(BufferDesc *buf_desc) uint64 state = pg_atomic_read_u64(&buf_desc->state); // no need to judge (BM_DIRTY | BM_JUST_DIRTIED), BM_DIRTY is enough if (state & BM_DIRTY) { -#ifdef USE_ASSERT_CHECKING - Assert((state & BM_VALID) == BM_VALID); -#endif return true; } if (ENABLE_DSS_AIO && buf_desc->extra->aio_in_progress) {