• unknown's avatar
    ndb - bug#30975 (recommit to 51-telco-gca) · db693ec9
    unknown authored
        - only update extent pages *after* flush of real page has been done
        - sync both create/drop of table into undolog (for disk tables)
    
    
    storage/ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
      inform TUP which LCP to restore each fragment to
    storage/ndb/src/kernel/blocks/dbtup/Dbtup.hpp:
      1) inform TUP which LCP to restore each fragment to
      2) inform TUP both before/after a page has been written
    storage/ndb/src/kernel/blocks/dbtup/DbtupDiskAlloc.cpp:
      1) inform TUP which LCP to restore each fragment to
      2) inform TUP both before/after a page has been written
    storage/ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp:
      log both create/drop table
    storage/ndb/src/kernel/blocks/lgman.cpp:
      let TUP know about all LCPs
    storage/ndb/src/kernel/blocks/pgman.cpp:
      add "when" argument to disk_page_unmap_callback so that TUP gets informed both before and after page writeout
        so that extent pages can be updated only *after* page has been written
    storage/ndb/src/kernel/blocks/tsman.cpp:
      remove lsn from update page free bits
      use wal for page vs extent relation
    storage/ndb/src/kernel/blocks/tsman.hpp:
      remove lsn from update page free bits
      use wal for page vs extent relation
    db693ec9
tsman.hpp 11.5 KB