Swap files location

Description

When using the swap option on a socket, the files created on the disk are placed always in the directory from where the application was launched. This creates a lot of problems. I need to be able to specify, maybe by a socket option, the location on the disk where these swap files to be located:

Some application

The new ZMQ_SWAP_LOCATION definition proposed:

  • Option value type: binary data

  • Option value unit: N/A

  • Default value: N/A

  • Applicable socket types: all

Extract from the code where the swap file is created:

swap.cpp

Environment

RH5U3 x86_64

Activity

Show:

Adrian Siminiceanu September 21, 2012 at 7:56 AM

Talked to Pieter and found that the swap is not entirely reliable and got dropped in 3.x.

Won't Fix

Details

Assignee

Reporter

Labels

Components

Fix versions

Affects versions

Priority

Created August 3, 2012 at 6:14 AM
Updated September 21, 2012 at 7:56 AM
Resolved September 21, 2012 at 7:56 AM