cmu-db / peloton

The Self-Driving Database Management System
http://pelotondb.io
Apache License 2.0
2.03k stars 623 forks source link

Add boolean flags & Move catalog initializations #1246

Open db-ol opened 6 years ago

db-ol commented 6 years ago

@mengranwo @dengyuchenkit Can you add a boolean flag for every table catalog to indicate if we want to include it in checkpoints, and move two catalog initializations (ZoneMapCatalog and ColumnStatsCatalog) to catalog bootstrap? Kazuhiro needs them for checkpointing. Thanks.

ksaito7 commented 6 years ago

Setting catalog has already had the persistent flag. We will use this flag for decision of whether checkpoints write its value back when recovery.