Skip to content
Snippets Groups Projects
  • Alexander Turenko's avatar
    fb734be0
    config: create dirs relative to process.work_dir · fb734be0
    Alexander Turenko authored
    The current working directory of a tarantool process is changed during
    startup to `process.work_dir`.
    
    The mkdir applier works before and after this point, so it should take
    into account both situations.
    
    Before first box.cfg() call (in the box_cfg applier) it should prepend
    directories with `process.work_dir`. However, it shouldn't do that after
    the current wordking directory change.
    
    Part of #8862
    
    NO_DOC=It is bugfix.
    fb734be0
    History
    config: create dirs relative to process.work_dir
    Alexander Turenko authored
    The current working directory of a tarantool process is changed during
    startup to `process.work_dir`.
    
    The mkdir applier works before and after this point, so it should take
    into account both situations.
    
    Before first box.cfg() call (in the box_cfg applier) it should prepend
    directories with `process.work_dir`. However, it shouldn't do that after
    the current wordking directory change.
    
    Part of #8862
    
    NO_DOC=It is bugfix.
config-create-parent-directories.md 351 B

bugfix/config

  • Support parent directories creation for options that accept a directory or a file (gh-8862).
  • Create parent directories for console.socket and log.file (gh-8862).
  • Create the process.work_dir directory (gh-8862).
  • Consider all the paths as relative to process.work_dir when creating necessary directories (gh-8862).