Skip to content

mxqd: set MXQ_HOSTID to something unique #23

Closed
mariux opened this issue Aug 26, 2015 · 1 comment
Closed

mxqd: set MXQ_HOSTID to something unique #23

mariux opened this issue Aug 26, 2015 · 1 comment
Assignees
Milestone

Comments

@mariux
Copy link
Contributor

mariux commented Aug 26, 2015

MXQ_HOSTID=hostname::serverid is not unique when server restarts.

as discussed in issue #22 (comment) boot_id + starttime + pid is. so use this as MXQ_HOSTID in execution environment.

In addition set MXQ_SERVERID to whatever --server-id is set to.

@mariux mariux added this to the 1.0 milestone Aug 26, 2015
@mariux mariux assigned mariux and unassigned mariux Aug 26, 2015
@mariux mariux self-assigned this Sep 23, 2015
mariux added a commit to mariux/mxq that referenced this issue Sep 24, 2015
resolves mariux64#23

* mariux/issues/issue23:
  mxqd: Set MXQ_HOSTID to bootid-hex(starttime)-pid
  mxqd: set MXQ_HOSTNAME and MXQ_SERVERID
  mx_util: Add mx_proc_pid_stat()
  mx_util: Add mx_strscan_ull() and mx_strscan_ll()
  mx_util: Add mx_read_first_line_from_file()
@mariux
Copy link
Contributor Author

mariux commented Sep 24, 2015

implemented in 6ff921c

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant