Follow up for OPENDJ-2190 Delete not replicated after 36h of add/delete operations on replicated topology
Align worker threads and replay threads, to compensate differences in storage behaviour the load should be managed with the same amount of resources
| | |
| | | private int getNumberOfReplayThreadsOrDefault(ReplicationSynchronizationProviderCfg cfg) |
| | | { |
| | | Integer value = cfg.getNumUpdateReplayThreads(); |
| | | return value == null ? Platform.computeNumberOfThreads(16, 1.5f) : value; |
| | | return value == null ? Platform.computeNumberOfThreads(16, 2.0f) : value; |
| | | } |
| | | |
| | | /** |