Project

General

Profile

Actions

Bug #7380

closed

Obsolete db path in mentat-cleanup.py.conf

Added by Pavel Kácha almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Development - Core
Target version:
Start date:
05/28/2021
Due date:
% Done:

100%

Estimated time:
To be discussed:
No

Description

There is still path to PostgreSQL 12 in cleanup config file. It should not make hard problems, because it is probably there only to have a possibility to find out database size. It could be shortened to not include version, or this functionality removed altogether.

(There is also longer threshold than on our production, which I recommend to leave as is now, as it could cause for users using default config to lose 3 months of data.)

Actions #1

Updated by Rajmund Hruška almost 3 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

The database path is used only for calculating file space usage. Old versions of postgreSQL are removed when upgrading the postgreSQL, so the path doesn't have to contain the version.

Actions #2

Updated by Rajmund Hruška almost 3 years ago

I have noticed that there are sections in "Upgrading PostgreSQL from X to Y" in the documentation regarding the changing of the database path in the cleanup configuration file. Because of the last change in the #6800 (assuming that Mentat is upgraded to the latest version) I think that those sections can be removed.

Actions #3

Updated by Rajmund Hruška over 2 years ago

  • Status changed from Resolved to In Review

Merged into devel.

Actions #4

Updated by Pavel Kácha over 2 years ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF