<commit_before>#
# This file is part of the CernVM File System
# This script takes care of creating, removing, and maintaining repositories
# on a Stratum 0/1 server
#
# Implementation of the "cvmfs_server transaction command"

# This file depends on fuctions implemented in the following files:
# - cvmfs_server_util.sh
# - cvmfs_server_common.sh
# - cvmfs_server_health_check.sh
# - cvmfs_server_compat.sh

cvmfs_server_transaction() {
  local names
  local gw_key_file
  local spool_dir
  local stratum0
  local force=0
  local retcode=0

  local retry=0
  local init_retry_delay=5 # seconds
  local max_retry_delay=300 # seconds
  local num_retries=50

  # optional parameter handling
  OPTIND=1
  while getopts "fri:m:n:" option
  do<commit_msg>Increase max number of retries for cvmfs_server transaction<commit_after>#
# This file is part of the CernVM File System
# This script takes care of creating, removing, and maintaining repositories
# on a Stratum 0/1 server
#
# Implementation of the "cvmfs_server transaction command"

# This file depends on fuctions implemented in the following files:
# - cvmfs_server_util.sh
# - cvmfs_server_common.sh
# - cvmfs_server_health_check.sh
# - cvmfs_server_compat.sh

cvmfs_server_transaction() {
  local names
  local gw_key_file
  local spool_dir
  local stratum0
  local force=0
  local retcode=0

  local retry=0
  local init_retry_delay=5 # seconds
  local max_retry_delay=300 # seconds
  local num_retries=100

  # optional parameter handling
  OPTIND=1
  while getopts "fri:m:n:" option
  do
{'fraction_non_alphanumeric': 0.059469941822882996, 'fraction_numerical': 0.017453135100193924, 'mean_word_length': 4.568345323741007, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3506497', 'n_tokens_mistral': 526, 'n_tokens_neox': 507, 'n_words': 160}