Name | Modified | Size |
---|---|---|
.. | ||
templates | ||
test | ||
triggers | ||
backup_functions.sh | 3 months ago | 98 KB |
broker_rotate.sh | 2 years ago | 1 KB |
ccheck.sh | 27 days ago | 32 KB |
check_dir_ownership.sh | 4 months ago | 4 KB |
daily_checkpoint.sh | about a year ago | 3 KB |
depot_verify_chunks.py | 2 years ago | 6 KB |
edge_dump.sh | 7 months ago | 4 KB |
edge_shelf_replicate.sh | 9 years ago | 2 KB |
edge_vars | 2 months ago | 2 KB |
gen_default_broker_cfg.sh | 4 months ago | 2 KB |
journal_watch.sh | 5 years ago | 6 KB |
keep_offline_db_current.sh | 6 months ago | 3 KB |
kill_idle.sh | 7 years ago | 871 B |
live_checkpoint.sh | 7 months ago | 3 KB |
load_checkpoint.sh | 5 months ago | 67 KB |
log_functions.sh | about a year ago | 2 KB |
mkrep.sh | 10 months ago | 61 KB |
opt_perforce_sdp_backup.sh | 16 days ago | 2 KB |
p4 | 4 years ago | 496 B |
p4broker | 4 years ago | 426 B |
p4brokerstate.sh | 3 years ago | 6 KB |
p4broker_base | 12 months ago | 7 KB |
p4d | 4 years ago | 411 B |
p4dstate.sh | about a year ago | 14 KB |
p4d_base | 18 days ago | 14 KB |
p4ftpd_base | 7 years ago | 2 KB |
p4login | 3 months ago | 20 KB |
p4master_run | 4 years ago | 3 KB |
p4p | 4 years ago | 411 B |
p4pcm.pl | 7 months ago | 15 KB |
p4pstate.sh | 3 years ago | 6 KB |
p4p_base | 8 months ago | 6 KB |
p4review2.py | 4 months ago | 53 KB |
p4sanity_check.sh | 3 months ago | 7 KB |
p4verify.sh | 11 months ago | 71 KB |
proxy_rotate.sh | about a year ago | 1 KB |
ps_functions.sh | 9 years ago | 841 B |
recover_edge.sh | 5 months ago | 10 KB |
recreate_offline_db.sh | 7 months ago | 3 KB |
refresh_P4ROOT_from_offline_db.sh | 3 months ago | 4 KB |
replica_cleanup.sh | 5 years ago | 2 KB |
replica_status.sh | 4 months ago | 3 KB |
request_replica_checkpoint.sh | 4 months ago | 2 KB |
rotate_journal.sh | 5 years ago | 2 KB |
run_if_broker.sh | 2 months ago | 826 B |
run_if_edge.sh | 2 months ago | 793 B |
run_if_master.sh | 2 months ago | 826 B |
run_if_proxy.sh | 2 months ago | 825 B |
run_if_replica.sh | 2 months ago | 827 B |
sdp_health_check.sh | 4 months ago | 24 KB |
sync_replica.sh | 4 months ago | 4 KB |
update_limits.py | 9 months ago | 3 KB |
upgrade.sh | 7 months ago | 64 KB |
verify_sdp.sh | 26 days ago | 74 KB |
Change | User | Description | Committed |
---|---|---|---|
31394 | C. Thomas Tyler | Tweaked backup to incorporate hostname into the backup directory, for safety in NFS envir...onments. « |
16 days ago |
31393 | C. Thomas Tyler |
Fixed issue with too-soon removal of a temp dir. Fix to unreleased dev branch change. |
18 days ago |
31385 | C. Thomas Tyler | Fixed bug where the preflight check for journal corruption would fail if the chunk of jou...rnal scanned contained entries that referenced client.readonly.dir. This failure would not stop the server from starting, but would write an incorrect error in the p4d_init.log file and do an extra unneeded journal rotation. Also added logic to clean up the excess temp directory on a clean start. #review-31386 @robert_cowham « |
22 days ago |
31363 | C. Thomas Tyler | In verify_sdp.sh, added checks to ensure defined P4USER exists, is a super, and has a lon...g-term ticket. If the users does not exist or does not have super access, and error is generated. If the ticket duration is too short, a warning is given. « |
26 days ago |
31350 | C. Thomas Tyler | Refine cchech.sh and config file to allow specification of 'Unset' to be required, in whi...ch case we pass the check if the value is unset regardless of the default value. We already allow checking the default value and consider it to comply if the default value matches expected. This new change will support some values being defined as required to be unset. Add examples and descriptive text in configurables.cfg. Fix ShellCheck compliance issues. Changed '-v' so required values having expected values show as GREAT rather than GOOD. Recommended values having expected values still show as GOOD. For values *not* matching expectations, required values show as BAD, while recommended values now show as WARN. The word FAIL is now used only in the summary, and appears only if there are any BAD indications (required values not matching) or else any system errors checking configurables. #review-31351 « |
27 days ago |
31345 | Mark Zinthefer | Adding trigger script to enforce the type of a changelist to "restricted" | about a month ago |
31329 | C. Thomas Tyler | Added summary of errors and warnings at the end. This summary is displayed by default. A... '-skip_summary' option has been added to suppress the summary. Added checks for existence of statepullL and statefailover files in P4ROOT on p4d servers. A warning is reported if these files exist, advising the user to remove these failover remnant files. Addressed some issues reported by shellcheck. #review-31330 @robert_cowham « |
about a month ago |
31317 | C. Thomas Tyler | Tweaked set of tables to be used for edge servers to work for recovery with modern SDP on... a pre-2019.1 data set. The CheckpointTables variable appends db.storage only if the p4d version is new enough to use db.storage. « |
2 months ago |
31311 | C. Thomas Tyler | Updated run_if_*.sh scripts: * Fixed bug in run_if_broker.sh. * Normalized command line v...erification. * Removed 'set -e' from run_if_*.sh scripts to improve reliability. * Made ShellCheck compliant. #review-31312 « |
2 months ago |
31243 | C. Thomas Tyler | Fixed typo in error message. | 3 months ago |
31170 | C. Thomas Tyler | In verify_sdp.sh, added '-extra' to specify tests not normally run by default, but which... can be called on request. Two additional tests added are: * commit_defined * server_type_known Fixes: * SDP-1187 * SDP-1188 #review-31171 « |
3 months ago |
31167 | C. Thomas Tyler | Fixed p4login bug for case-insensitive servers checking for SERVERID using case case-sens...itive check. Fixes SDP-1189 (Bug): p4login is wrongly sensitive to case of ServerID on case-insensitive server. « |
3 months ago |
31158 | C. Thomas Tyler | This is a change to unreleased new behaviour to handle the clients.readonly.dir data as p...art of the database swap handling. Added a disk space safety check, so the refresh_P4ROOT_from_offline_db will safely abort early if there's not enough disk space to safely complete the rsync of the readonly.clients.dir folder to the offline_db prior to the database swap orchestrated by refresh_P4ROOT_from_offline_db.sh. Renamed the copy function for improved clarity, and added a new rsync_with_preflight function to improve modularity. #review-31159 « |
3 months ago |
31152 | C. Thomas Tyler | Added feature to preserve client.readonly.dir during a database swap. Refined tmp file... cleanup logic to search only for tmp files owned by the defined OSUSER. #review-31153 @robert_cowham « |
3 months ago |
31136 | C. Thomas Tyler | Added content to cover scenario where P4JOURNAL is set in db.config. This addresses SDP...-737 (Doc): In SDP Legacy Upgrade Guide, advise p4d -cunset P4JOURNAL if needed. Also updated URL for list of configurables due to change in Perforce web site layout, with docs moved from somewhere under www.perforce.com to somewhere under help.perforce.com. For example: Old URL for configurables: https://www.perforce.com/manuals/cmdref/Content/CmdRef/configurables.alphabetical.html New URL for configurables: https://help.perforce.com/helix-core/server-apps/cmdref/current/Content/CmdRef/configurables.alphabetical.html « |
3 months ago |
31108 | C. Thomas Tyler | Changed the SDPInfo trigger to display the additional output only if the client program c...alling the trigger is 'p4'. This fixes an issue where installing the trigger causes a Swarm crash. « |
3 months ago |
31101 | C. Thomas Tyler | Fixed bug where a case-insensitive server is sensitive to the case of a server spec in th...e server.id file. If the instance is case-sensitive, then a grep for the ServerID in dumped db.server output should also be case-insensitive. An impact of the bug is that the run_if_*.sh scripts, e.g. run_if_edge.sh, will not work if the case of the ServerID in the $P4ROOT/server.id file doesn't match what shows in 'p4 servers'. The case must match if the data set is case- sensitive, but is not required to match if it is insensitive (but due to the bug, is must match). Without this code change in SDP, an easy workaround for this issue is simply to adjust the case of the ServerID value in the $P4ROOT/server.id file match what appears in the output of 'p4 servers'. This bug may be more likely to appear in a Windows to Linux migration. Fixes SDP-1184. #review-31102 @leif.johnson « |
4 months ago |
31051 | C. Thomas Tyler | Tweaked to create backup dir if needed. | 4 months ago |
31050 | C. Thomas Tyler | Added script to back SDP OS Package Structure. Modified sdp_upgrade.sh to install a sys...temd oneshot service to call this script if operating on a system using the SDP OS Package Structure (i.e. a systemd where /opt/perforce/helix-sdp exists). « |
4 months ago |
31041 | C. Thomas Tyler | daily_checkpoint.sh on edge skips checkpoint dump if journal rotation needed. Prior beh...avior was to fail with an error. However, this situation comes up routinely after seeding or reseeding an edge server, and is not reallly an error condition. With the new logic, the iteration of the checkpoint dump is simply skipped. The next call made after a journal rotation on the commit will succeed. If the checkpoint dump is skipped, calls to recreate_offline_db_files(), remove_old_checkpoints_and_journals(), remove_old_logs() all just display a message indicating they do nothing because the checkpoint dump was skipped. #review-31042 « |
4 months ago |
31039 | C. Thomas Tyler | Shellcheck cleanup. | 4 months ago |
31028 | C. Thomas Tyler | In verify_sdp.sh, changed call to check_dir_ownership.sh to use faster test, matching wha...t is required by p4d_base to start the service. « |
4 months ago |
31023 | C. Thomas Tyler | The live_checkpoint.sh script now works on replicas and edges. TO DO: * Review docs fo...r any needed updates. * Add test suite coverage. Fixes SDP-1079. #review-31024 @d_benedict « |
4 months ago |
31022 | C. Thomas Tyler | Removed calls to remove_old_checkpoints_and_journals and remove_old_logs from request_rep...lica_checkpoint.sh. The removal of old checkpoints/logs is only to be done upon successful completion of a new checkpoint operation, and this script only makes the request to start a checkpoint; it does not verify successful completion. « |
4 months ago |
31021 | C. Thomas Tyler | Refined to avoid possible delays if scanning P4ROOT with 'find' if P4ROOT contains large... subdirs (server.locks, etc.). The 'find' is restricted with a maxdepth of 1. « |
4 months ago |
31020 | C. Thomas Tyler | Follow on change for @31019. | 4 months ago |
31018 | C. Thomas Tyler | Renamed unreleased new script, check_dir_perms.sh -> check_dir_ownership.sh. Fixed exi...t code in this new script. Modified p4d_base to call this script as a preflight check when starting p4d (regular start only, not force_start). It will refuse to start p4d if there are any files in P4ROOT owned by a user other than the defined OSUSER. This should be helpful in finding things like a root-owned state.xu file. Fixes SDP-1119. #review-31019 « |
4 months ago |
31015 | C. Thomas Tyler | Adjusted 'find' command to eliminate redundant second '-mtime' option. | 4 months ago |
30979 | C. Thomas Tyler | Eliminated buildup of temp dirs, e.g. /tmp/tmp.XXXXXXXXXX. Added remove_jd_tables() fu...nction and calls to it to prevent buildup of new cruft. Modified remove_old_logs() to cleanup cruft created previously. #review-30980 @robert_cowham « |
4 months ago |
30950 | John Clucas | Fix python3 issues with map | 4 months ago |
30937 | Robert Cowham | Update p4review2.py to work with Python3 Add basic test harness. Delete p4review.py whic...h is Python2 and update docs. « |
5 months ago |
30933 | C. Thomas Tyler | Added check for proper ownership of all files in P4ROOT. Added separate utility for che...cking ownership (and optionally group) of all files in a given path. Fixes SDP-1119. #review-30934 « |
5 months ago |
30880 | C. Thomas Tyler |
Fixed bad grammar in comments. Non-functional change. |
5 months ago |
30877 | C. Thomas Tyler | Refined check for SDP checkpoint counters in SDP Health Check. | 5 months ago |
30860 | C. Thomas Tyler |
Tweaked number of logs to keep. Fixed typo in output message. |
5 months ago |
30857 | C. Thomas Tyler | Clarified text in comments. | 5 months ago |
30856 | C. Thomas Tyler | Adapted to cleanup obsolete parallel checkpoint directories that had only *.OK files and... no *.md5 files (created by a small range of p4d versions that did not create top-level *.md5 files for parallel checkpoint directories). « |
5 months ago |
30855 | C. Thomas Tyler | Completed safety feature to ensure checkpoints and journals cannot never be deleted by re...move_old_checkpoints_and_journals() even if it were called at the wrong time. This is for future-proofing (and making custom SDP-derived scripts safer). « |
5 months ago |
30854 | C. Thomas Tyler | Refined logic to find highest journal counter among *.md5 files. | 5 months ago |
30852 | C. Thomas Tyler | Adapted logic to find latest checkpoint with an MD5 file to search by highest journal cou...nter number rather than timestamp on the *.md5 file. In most situations, this will give the same result. However, in cases where checkpoints and MD5 files are copied across machines, it is possible that timetamps can be incorrect. Journal counters are less likely to be incorrect, and would only be incorrect in situations involving manual interactions. « |
5 months ago |
30848 | C. Thomas Tyler | Semantically separated DoParallelCheckpionts into two variables, CreateParallelCheckpoint... and LoadParallelCheckpoint, which are logicall independent. « |
5 months ago |
30826 | C. Thomas Tyler | Added check for LastSDPCheckpoint* counters. | 5 months ago |
30819 | C. Thomas Tyler | Added prefix 'SDP Version:' | 5 months ago |
30802 | C. Thomas Tyler | Added sdp_info.sh script to the SDP. It appends contents of /p4/sdp/Version to 'p4 info'... output. If that file does not exist, a message is displayed indicating it is missing. It also displays the contents of an optional Message of the Day file. #review-30803 « |
5 months ago |
30800 | C. Thomas Tyler | Values that are correct per p4d default are now accepted. This changes addresses an iss...ue where a value that is not explicitly set to the expected value will fail even when the p4d default is the correct value. Previously values with an expected value matched only if they were explicitly set ala 'p4 configure set' or 'p4d -cset'. #review-30801 « |
5 months ago |
30793 | C. Thomas Tyler | Expanded crontab check to allow for a standalone broker install. | 5 months ago |
30684 | C. Thomas Tyler | This replaces the prior change in @30682. Added undoc '-K' option to preserve original... P4ROOT database files for analysis after the swap. This is specifically for the scenario where the P4ROOT databases have some kind of corruption to be analyed, but all checkpoints and journals are known to be healthy, and also the offline_db is known to be in a good state. @review @d_benedict « |
6 months ago |
30682 | C. Thomas Tyler | Added undoc '-rebuild_offline_db' option to rebuild offline_db from checkpoints and journ...al rather than doing a dump of the former P4ROOT directory. This is specifically for the scenario where the P4ROOT databases have some kind of corruption, but all checkpoints and journals are known to be healthy, and also the offline_db is known to be in a good state. #review-30683 @d_benedict « |
6 months ago |
30679 | C. Thomas Tyler | Completed logic to detect case sensitivty compressed and uncompressed parallel checkpoint...s. Also corrected test in unrelated debug messages. « |
6 months ago |
30678 | C. Thomas Tyler | Fixed bug related to detection of case sensitivity for parallel checkpoints dir, resultin...g in error like this sample: head: error reading '/p4/1/checkpoints.edge_syd/p4_1.edge_syd.ckp.689': Is a directory « |
6 months ago |