What’s new in P4 Server 2022.2

Released: November 2022

For a complete list of what’s new in this release, see the Release notes and What’s new in P4 administration in the P4 Server Administration Documentation.

Save time

Improve performance with parallel checkpointing, dumping and recovery. See the db.checkpoint.threads configurable and Parallel checkpointing, dumping and recovery in the P4 Server Administration Documentation.

To help your organization avoid unwanted downtime, starting seven days before the license expires, the Helix Core administrator is notified of the expiration date when logging in to the Server. To modify this default behavior, use the auth.licenseexpiry.warn and auth.licenseexpiry.warnthreshold configurables.

To help your organization avoid unwanted downtime, starting seven days before the license expires, the Helix Core administrator is notified of the expiration date when logging in to the Server. To modify this default behavior, use the auth.licenseexpiry.warn and auth.licenseexpiry.warnthreshold configurables.

On Windows Server 2016 and newer, journal rotation can be performed using an atomic rename. Previous journal rotation for Windows was performed as a copy and truncate operation. The atomic rename journal rotation offers a significant performance gain on Windows NTFS filesystems. To enable this feature, see the instructions at filesys.atomic.rename.

Ease of administration

Server log files now include an estimate of the memory used by the server to process a command. See Memory used by command and process in the P4LOG topic.

The track output in server log files include network stats for upstream server-to-server communication as well as with the client or downstream server. See Server-to-server network usage on replicas in the P4LOG topic.

--streamviews is an option of p4 dirs, p4 files, and p4 fstat to report files and directories from stream Paths and Components. (See also Stream Components in the P4 CLI Documentation.)

Topology

p4 topology reports the type of event that caused the server topology record to be created, such as startup, connect, or delete, as well as the address, destination address, and the server-id of the target server. The new -D option removes the server records, and the -d option now marks the server record as deleted instead of removing it.

Security

p4 renameclient makes it easy to rename a client workspace, and the run.renameclient.allow configurable determines which sort of user can run the command.

Various

The Components field of p4 stream has two additional values for component_type: writeimport+ and writeall. See also Writable components in the P4 CLI Documentation.

p4 changes has the --stream option to include only changelists with a stream spec in the Stream field, as well as the --nostream option to exclude such changelists.

p4 sync has the

  • --use-stream-change option to specify the stream specification version, and a related configurable is dm.sync.streamchange

  • -E  option for an edge server to get the most up-to-date replication information and archive files

p4 group specification supports setting the MaxMemory:  field as one of the limits to preserve server resources.

dm.protects.exclusioncheck defaults to the most secure setting.