- Notifications
You must be signed in to change notification settings - Fork35
[#247] PortManager__Generic uses lock-dirs for reserved ports#255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
[#247] PortManager__Generic uses lock-dirs for reserved ports#255
Uh oh!
There was an error while loading.Please reload this page.
Conversation
- [FIX] A creation of self._log_dir is moved to reserve_port method- Code normalization [copy&paste mistakes]- New asserts are added- New comments are added
PortManager__Generic is updated.
dmitry-lipetsk commentedMay 7, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Patch was tested with probackup2. |
This idea was taken from PgBouncer tests.
1) PortManager__Generic uses OsOperations::create_lock_fs_obj to create a lock object2) utils.bound_ports is removed- TestTestgresLocal.test_ports_management is deleted- TestOsOpsCommon.test_create_lock_fs_obj is added
dmitry-lipetsk commentedJun 23, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
У меня сомнения насчет это патча. Штука полезная, но слишком требовательная к устойчивости тестов - если блокировочные каталоги не удалять, то их потом надо будет чистить руками. Это не критично для одноразовых тестовых машин, но все равно как-то не очень... Пусть пока повисит. Можно по умолчанию оставить все как есть, а эту фичу оформить как новый класс. |
- _C_MIN_PORT_NUMBER- _C_MAX_PORT_NUMBER
Какой новый класс, делали чтобы проблему устранить же. И если и с проблемой живется ок, то может просто не делать вовсе |
Uh oh!
There was an error while loading.Please reload this page.
New structures
Critical changes
Closes#247