#49358 conntable defaults and safety improvement
Closed: wontfix Opened by firstyear.

Issue Description

By default we ship with some poor defaults around the connection table.

  • It's only sized for 1024 entries
  • It uses a mutex, not an RW lock. Most ops on the CT are read only, not write.

These two can cause issues in a default 1.3.x install. Despite our desire to replace this, we need to make the current system work as best we can. To make this matter even more fun, the position of the lock is incorrect in the conntable and leaves the system open to a number of race conditions and issues if two connections are acquired at the same time.


Actually, I misread the 1024 limit - we read from sysconf/getdtablesize.

The locking issue can not be easily solved due to the current design of the table :(

Metadata Update from @firstyear:
- Custom field component adjusted to None
- Custom field origin adjusted to None
- Custom field reviewstatus adjusted to None
- Custom field type adjusted to None
- Custom field version adjusted to None
- Issue close_status updated to: invalid
- Issue status updated to: Closed (was: Open)

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/2417

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: invalid)

Metadata