edge_vars #1

  • //
  • guest/
  • jessie_fernandez/
  • sdp/
  • dev/
  • Server/
  • Unix/
  • p4/
  • common/
  • bin/
  • edge_vars
  • View
  • Commits
  • Open Download .zip Download (649 B)
# This file is sourced by scripts that work on edge servers.

# It sets the correct list db.* files that are edge-specific in the
# federated architecture.  This version is dependent on the version of
# p4d in use.

if [[ "${P4D_VERSION:-1970.1}" > "2019.0" ]]; then
   ExcludedTables=db.have,db.working,db.locks,db.resolve,db.revsh,db.workingx,db.resolvex,db.stash,db.haveg,db.workingg,db.locksg,db.resolveg
   CheckpointTables=$ExcludedTables,db.view,db.label,db.revsx,db.revux
else
   ExcludedTables=db.have,db.working,db.resolve,db.locks,db.revsh,db.workingx,db.resolvex
   CheckpointTables=$ExcludedTables,db.view,db.label,db.revsx,db.revux
fi
# Change User Description Committed
#1 27246 Jessie Fernandez Branch for Jessie Fernandez
//guest/perforce_software/sdp/dev/Server/Unix/p4/common/bin/edge_vars
#1 25920 C. Thomas Tyler Added new 'edge_vars' file to dynamically set list of edge-specific
db tables based on current P4D version.

Updated edge_dump.sh, recover_edge.sh, and load_checkpoint.sh
to use the new edge_vars file.

Made edge_dump.sh and recover_edge.sh shellcheck v0.6.0 compliant,
along with load_checkpoint.sh.