Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 Server Administration Documentation | 2025.2

# What’s new in P4 Server administration in 2022.1 and earlier

Learn about new features, enhancements, and bug fixes in each P4 Server release.

## 2022.1

- Failback after failover

- Real-time monitoring to enhance administration: set the rt.monitorfile configurable and adjust the monitor level while commands are running. To identify commands that have been holding locks on tables for long periods and the commands that are waiting for those locks to be released, set the monitor configurable to `10` or `25`.

- Option to set the `server.id` of the proxy server. See General options for P4P > `-xD [serverID]` in P4 Proxy

- p4 group has the optional `Description` field, which might be useful if your company has a large number of group

- Checkpoint and journal options enhancements in P4 Server (p4d) reference:

  - Checkpoint production is easier with the `-P server-id` and `-R service` options. See `p4d [-z] [-R service | -P server-id] -jd file`

  - Checkpoint recovery is easier with the `-R service` option. See `p4d [-z] -R service -jr file`

- P4V administration:

  - You can enable P4V to attempt to reconnect to the server and specify how many seconds between such attempts. See the P4V.Performance.ReconnectInterval property.

  - You can prevent the user from editing any stream except the current stream opened for edit in the active workspace. See P4V.Features.AllowDirectStreamEdit

## 2021.2

- Support for one-to-many "ditto" mappings of paths in Stream Specs. See p4 stream in the P4 CLI Reference, which explains the `import&` type under Paths: and provides an example of ditto mapping for stream specs.

- It is now possible to get a list of all the streams associated with a given depot path. See `--viewmatch` in the p4 streams topic in the P4 CLI Reference.

- The Helix Core administrator can get a list of all the Helix Core services that are connected to the server from which the command is initiated. See the Technical Preview `p4 topology` command in the P4 CLI Reference.

- To improve performance, consider making the server use a buffer to minimize writes to the structured log file. See the `serverlog.bufsz.N` configurable in the P4 CLI Reference.

- A forwarding replica can now offload read-only commands from an edge server. See Forwarding replica.

- Librarian A subsystem of the server that stores, manages, and provides the archive files to other subsystems of the server. See also 'archive files'. tracking metrics that are above the applicable tracking threshold are reported in the server log, and in the structured logs. See `LibrarianUsage` in Using structured logging.

- The `P4TRUST` environment variable is no longer required for SSL connections where the server provides a certificate that is not self-signed and can be verified by the client. For details, see SSL connections that do not require P4TRUST in the P4 CLI Reference.

## 2021.1

- You can enable the display of real-time monitoring values. See `--show-realtime` under General options in P4 Server (p4d) reference.

- You can verify a subset of database tables. This is faster than verifying all of the database tables. See `-xv` under Server options in P4 Server (p4d) reference.

- SSL and TLS protocol versions have configurables on the client-side.

If you are licensed for Helix Core version 2021.1 patch 1 or greater, Git Connector licensing is included at no extra charge.

## 2020.2

- During upgrades to a new server version, the upgrade steps now execute in the background (applies to 2019.2 and later upgrade steps). This can improve server availability and replication performance during upgrades.

  - While you are upgrading, you might want to get the status of the upgrade steps. Consider using the new p4 upgrades command, which is documented in the P4 CLI Reference.

- Any new file being shelved that has the same content as an existing shelved file now refers to the existing archive file instead of creating a duplicate archive file.
  - To avoid overwriting the content of shelves that share archives, the archives of the new shelved files now have an additional numerical suffix. For example, 1.1.1.gz instead of 1.1.gz.

- The P4 Proxy service can now be configured to use a different path for databases by either setting the P4PROOT environment variable or by using the -R proxy option. By default P4PROOT is the same as P4PCACHE, and both databases and archives will reside on the same path.

- Enhancement of Background archive transfer for edge server submits: if the administrator has not enabled background submit, the -b option of p4 submit is ignored and standard submit behavior occurs.

- Failover from a mandatory standby server when the target server is not participating used to require specifying -s <serverID>. Now, failover for this scenario includes checking the ReplicatingFrom field of the standby server spec for the target server's serverID when -s is not specified on the command line.

  - Part of the failover process involves stopping the journalcopy and pull threads. If the failover process fails, those threads needed to be restarted manually. Now any pull -L, pull -u, or journalcopy threads that were configured using startup.N configurables will automatically be restarted if the failover process did not succeed.
- For your end-users of P4V 20.3 and later, you can set the maximum number of files to load into the Depot tree at any one time. See P4V.Performance.DirFetchSize in Performance-related P4V properties.

## 2020.1

- Support for P4 Authentication Service.
- The storage upgrade process is now visible through the `p4 monitor` command. See p4 monitor in the P4 CLI Reference.
- A heartbeat-related trigger or extension can be part of a solution to monitor whether a server is responsive. See Triggering on heartbeat (server responsiveness)
- TLS 1.3 is now supported, but TLS 1.2 remains the default. See ssl.tls.version.max in the P4 CLI Reference.
- A unique command identifier is now visible through structured logging for schema version `50`. See Logging and the Perforce Knowledge Base article, Structured Server Logs.

- Global labels can now be updated from edge servers using either `p4 tag -g` or `p4 labelsync -g`. See p4 tag and p4 labelsync in the P4 CLI Reference.

- The host field in the protections table now allows multiple IP addresses or CIDR matchers to be specified on a single line with a comma-separated list. See p4 protect in the P4 CLI Reference.

- The sequence numbers used in `db.protect` are no longer contiguous. This allows new lines to be added without rewriting the whole table.

- Standard users can now view the storage record table.
- A new configurable has been added to suppress the generation of digests during a storage upgrade. See lbr.storage.skipkeyed in the P4 CLI Reference.
- The scan of the protections table at command start is now lockless. This means that updates to the protections table on busy servers will experience less lock contention.

### Documentation-related

- Helix Core Server Administrator Guide is now a single volume instead of being split between "Fundamentals" and "Multi-site Deployment". What was previously "Helix Core Server Administrator Guide: Multi-Site Deployment" is included here under Deployment architecture.
- For clarity, "multi-server environment" means what was formerly called "distributed environment" and "distributed" is primarily associated with Distributed versioning (DVCS).
- This manual now explains how to get the latest patch release. See Patch the server.

## 2019.2

### Upgrading

The 2019.2 upgrade steps are significantly different from any prior release. See Upgrading the server.

### Improvements to structured logging

Structured logging has a new format so it can be more helpful for the analysis of performance. See Logging and structured log files.

### failed-over trigger

A new type of trigger, failed-over, can run when a standby server becomes the new target server. See Triggering on failed-over.

## 2019.1

- Carefully follow the steps in the chapter on Upgrading the server because they are different from those of upgrades to versions prior to 2019.1.

- Extensions, a new technology that is similar to Triggers, but with advantages and additional capabilities. See Triggers and extensions.
- When the server is busy with the maximum number of commands and therefore blocking standard users,the super and operator user types can still issue a subset of commands. See Limit simultaneous connections > Commands that super and operator users can always run.
- You can save disk space when creating an archive depot by using the option that includes lazy copies, which are small references to the location of potentially large files. A new database table, db.storage, replaces the db.archmap table to provide a link count for archive files on the server. This tracking reduces the complexity of identifying lazy-copies, allowing +Sn files to be lazy copied by reference instead of being duplicated with their full contents. See p4 archive -z inP4 CLI Reference.
- Faster verification of archives (depot files) with p4 verify
  - such verification can also be done with a new command, p4 storage -v
- Display, verify, or update physical archive storage with the new command, p4 storage
- Faster p4 obliterate
- The procedure for setting up a high availability server for Failover has changed. See A high availability standby within an existing installation should not be initially deployed as mandatory.
- Note that P4 CLI Reference indicates that the net.autotune configurable is on by default.
- (Doc-only change: The How protections are implemented topic has been expanded.)

- End-users can benefit from the Background archive transfer for edge server submits.

- Edge-to-edge chaining: an edge server can be configured to connect to another edge server without needing to sync from a remote commit server. See also "Commit-edge" in Deployment architecture and Filter during replication or edge-to-edge chaining

## 2018.2

- Failover to a new target server is now an easier process

- Installation support for SUSE Linux Enterprise Server - see Linux package-based installation

- Clarification on when trigger-based authentication can fall back to a password request: Single sign-on and auth-check-sso triggers

- If you want to write a trigger that requires users to log in with additional security, see Triggering for multi-factor authentication (MFA)

- Multi-factor authentication (MFA) is the current name for a feature that was originally introduced as second-factor authentication (2fa)
- Helix SAML is a new feature for authentication

## 2018.1

If you want to write a trigger that requires users to log in with additional security, see Triggering for multi-factor authentication (MFA)

Installation support for SUSE Linux Enterprise Server 11 and 12 - see Linux package-based installation

## 2018.1

You no longer need to use the `-z` option to restore a compressed checkpoint or journal. This allows the chaining of files for the restore. For example:

`p4d -r . -jr checkpoint.42.gz journal.42 journal.43 journal`

See the topic named "Database corruption, versioned files unaffected", which has a Note about Version 2018.1

See graph-push-reference triggers at Triggering with depots of type graph

A new structured log, ldapsync.csv, has been added to record the activity of p4 ldapsync. See Enable and configure structured logging.

## 2017.2 release

### Triggers for external file transfer

See Triggers for external file transfer.

### Server background tasks

See p4 bgtask in the Command Reference.

### Parallel threads

p4 shelve now accepts the `--parallel` flag to specify that multiple files should be transferred in parallel, using independent network connections from automatically-invoked child processes. In addition, new configurables `net.parallel.shelve.*` allow p4 shelve to automatically use parallel threads to transfer files. Please see `p4 help shelve` and `p4 help configurables` for complete information.

The net.parallel.sync.svrthreads configurable reduces the number of parallel transmit threads used by sync commands when the total number of "user-transmit" threads (from all commands) running concurrently in the server would exceed the value of this configurable. Server monitoring must be enabled for this new configurable to take effect.

### Complete replication for graph depot archives

Edge servers support syncing file content from graph depots. Replication supports graph depots that contain pack files, loose files, or a mixture of the pack files and loose files.

New content can be pushed by using the Git Connector or committed with p4 submit or p4 merge.

For information about depots of type graph, see:

- Working with depots of type graph in the P4 CLI Reference.

- Work with Git

Your search for returned results