Fix bitmap index recovery issue
Bitmap index doesn't write the backup page in xlog, so if system crashes after checkpoint and the index is dropped, bitmap_redo will find the the page is invalid and won't be able to recover. For example: create table bm_test (a int4, b int4); create index bm_b_idx on bm_test using bitmap(b); checkpoint; insert into bm_test select i,i from generate_series(1,100000)i; drop table bm_test; pkill -9 postgres gpstart -a
Showing
想要评论请 注册 或 登录