1. 20 1月, 2016 1 次提交
    • P
      Backup and restore to report errors found from segments' status file · ce4586a7
      Pengcheng Tang 提交于
      Gpcrondump and gpdbrestore redirect stderr into status file for segments,
      errors should be reflected into the master's report file.
      Warnings will be given if process completed but errors were generated in
      the report file.
      
      Also made some refactor of the code.
      
      This commit also reverts 08f4ada7.
      
      Authors: Pengcheng Tang, Nikhil Kak
      ce4586a7
  2. 07 1月, 2016 1 次提交
    • P
      Backup and restore to report errors found from segments' status file · 08f4ada7
      Pengcheng Tang 提交于
      Gpcrondump and gpdbrestore redirect stderr into status file for segments,
      errors should be reflected into the master's report file.
      Warnings will be given if process completed but errors were generated in
      the report file.
      
      Also made some refactor of the code.
      
      Authors: Pengcheng Tang, Nikhil Kak
      08f4ada7
  3. 14 12月, 2015 1 次提交
  4. 11 11月, 2015 1 次提交
    • P
      Adding segment fault detection for gpcrondump. · 675cb961
      Pengcheng Tang 提交于
      When the segment dump process crashes, master ends up waiting
      infinitely. So adding a fault detection mechanism to periodically
      check if the segment dump process is alive.
      
      Fix DDBoost restore to retrieve dump file from Data Domain Server;
      
      DDBoost restore incorrectly assumes that the post schema dump file is
      located locally, and failed the restore process.
      
      Gpcrondump now sets the correct schema for schema altered sub partition tables;
      
      If sub partition tables got altered and set to different schema,
      gpcrondump incorrectly sets the schema for these modified tables.
      
      Fix the usage of fmtId() to correctly consume the returned value;
      
      fmtId() reuses the same buffer; so before calling fmtId() for the 2nd time,
      consume the value in the returned buffer.
      
      Fix restore failure when exchange partition with external tables has 'LOG ERRORS' statement.
      
      If an external table has a "LOG ERRORS" statement in the definition, it explicitly
      creates the error table. Hence, restore fails due to name conflicts with the subpartition table name.
      
      Authors : Pengcheng Tang, Nikhil Kak, Isobel Redelmeier
      675cb961
  5. 28 10月, 2015 1 次提交