Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright | Jon Bratseth | 2023-10-09 | 8 | -8/+9 |
| | |||||
* | Minor refactoring of CuratorCompletionWaiter, no functional changes | Harald Musum | 2023-09-18 | 1 | -2/+2 |
| | |||||
* | Specify barrier wait for all timeout in callers, simplify | Harald Musum | 2023-03-22 | 1 | -3/+5 |
| | |||||
* | Improve exception message grammar, javadoc | jonmv | 2022-11-14 | 1 | -1/+1 |
| | |||||
* | Remove uneeded test assertion which is unstable | jonmv | 2022-11-14 | 1 | -1/+0 |
| | |||||
* | Regularly write is_active metric | jonmv | 2022-11-09 | 1 | -1/+1 |
| | |||||
* | 12s session timeout for application cluster curator | jonmv | 2022-10-14 | 2 | -3/+3 |
| | |||||
* | Update metrics as agreed | jonmv | 2022-10-13 | 1 | -21/+11 |
| | |||||
* | Kill AbstractSingletonWorker, and add sample code | jonmv | 2022-10-12 | 1 | -4/+9 |
| | |||||
* | Acquire a single lock again in VespaCurator | jonmv | 2022-10-12 | 1 | -5/+0 |
| | |||||
* | And another one bites the dust | jonmv | 2022-10-11 | 1 | -2/+1 |
| | |||||
* | Set exception before phasing | jonmv | 2022-10-11 | 1 | -1/+1 |
| | |||||
* | Remove another metric verification | jonmv | 2022-10-11 | 1 | -1/+0 |
| | |||||
* | use manual clock for all tests | jonmv | 2022-10-11 | 1 | -2/+2 |
| | |||||
* | Remove test metrics for which we cannot (easily) synchronise | jonmv | 2022-10-11 | 1 | -4/+3 |
| | |||||
* | Complete janitor shutdown in synchronous part of shutdown | jonmv | 2022-10-11 | 1 | -2/+2 |
| | |||||
* | Sync shutdown, invalidate doom on no singletons, fix unit test | jonmv | 2022-10-11 | 1 | -9/+13 |
| | |||||
* | Stabilize unit test | jonmv | 2022-10-11 | 1 | -1/+1 |
| | |||||
* | Add metrics to singletone manager, with placeholder names | jonmv | 2022-10-10 | 1 | -5/+100 |
| | |||||
* | Register number of parties equal to possible concurrent arrivals | jonmv | 2022-10-10 | 1 | -0/+2 |
| | |||||
* | No inheritance on AbstractComponent | jonmv | 2022-10-10 | 1 | -7/+7 |
| | |||||
* | Remove left-over toString, and add forgotten assertion | jonmv | 2022-10-10 | 1 | -1/+2 |
| | |||||
* | Expand ZK API, and implement in CuratorWrapper | jonmv | 2022-10-10 | 1 | -0/+245 |
| | |||||
* | Test out-of-order release | Håkon Hallingstad | 2022-04-27 | 1 | -0/+38 |
| | |||||
* | Make setting jute max buffer testable and add test | Harald Musum | 2022-02-17 | 1 | -1/+24 |
| | |||||
* | Replace use of Guava's UncheckedTimeoutException with our own | Bjørn Christian Seime | 2022-01-14 | 1 | -1/+1 |
| | |||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 6 | -6/+6 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 1 | -1/+1 |
| | |||||
* | Use Curator instead of ConfigCurator, part 4 | Harald Musum | 2021-07-09 | 1 | -4/+5 |
| | |||||
* | Remove duplicate headers | Jon Bratseth | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Add copyright headers | Jon Bratseth | 2021-03-18 | 1 | -1/+2 |
| | |||||
* | Simplify, testing server is not used | Harald Musum | 2021-03-03 | 1 | -59/+7 |
| | |||||
* | Use CuratorConfig | Martin Polden | 2020-11-20 | 1 | -13/+17 |
| | |||||
* | Extract ConnectionSpec | Martin Polden | 2020-11-20 | 2 | -16/+74 |
| | |||||
* | Also test cumulative deadlock counters | Håkon Hallingstad | 2020-10-20 | 1 | -0/+4 |
| | |||||
* | Replace deadlock avoidance with metrics | Håkon Hallingstad | 2020-10-19 | 1 | -9/+16 |
| | |||||
* | Deadlock detection | Håkon Hallingstad | 2020-10-11 | 1 | -5/+70 |
| | | | | | | | | | | | | Just before Lock.acquire() is invoked, the locks within the process is queried to see if a "deadlock" will occur: The current thread waiting to acquire lock path P1, which is held by thread T1 waiting on acquiring a lock at path P2, etc, until a thread is waiting for a lock held by the current thread. Even without this PR the deadlock would resolve itself automatically because all locks are acquired with timeouts. However, this PR 1. resolves the deadlock immediately, and 2. leaves a log trace (hopefully from the exception) to allow us to refactor code to avoid such deadlocks. | ||||
* | Avoid metrics on reentry of lock | Håkon Hallingstad | 2020-10-08 | 2 | -32/+60 |
| | |||||
* | Make richer latency stats | Håkon Hallingstad | 2020-10-05 | 4 | -139/+144 |
| | | | | | | | | | Makes a LatencyStats which provides some useful metrics, best explained there and in LatencyMetrics. This includes latency metrics, the "QPS" (e.g. the number of acquire() per second), and load metrics. Unfortunately I had to move from atomics to synchronized to accomplish this, but I see no other way. | ||||
* | Move lock metrics to MetricsReporter | Håkon Hallingstad | 2020-10-03 | 5 | -29/+196 |
| | | | | | | | | | | | | | | | Adds two new metrics: - The load of acquiring each lock path: The average number of threads waiting to acquire the lock within the last minute (or unit of time). Aka the lock queue (depth). - The load of the lock for each lock path: The average number of threads holding the lock within the last minute (or unit of time). This is always <= 1. Aka the lock utilization. Changes the LockCounters to LockMetrics, and exporting those once every minute through MetricReporter which is designed for this. | ||||
* | Add metrics to lock attempts | Håkon Hallingstad | 2020-10-01 | 3 | -4/+6 |
| | |||||
* | Record locks taken for external deploys | Håkon Hallingstad | 2020-09-30 | 1 | -11/+11 |
| | | | | | | | | | | | | - Information about a lock attempt now includes a list of lock attempts done while holding the lock, forming a tree (forest) structure. - Records the duration and locking attempts done as part of an external deploy, forming a tree of locks with timing info. The currently active external deploys are shown in an "ongoing-recording" field of /nodes/v2/locks. - The 3 longest external deploys are kept in "recordings" in /nodes/v2/locks. - Extracts the global process-wide parts of ThreadLockStats into separate class for clarity. | ||||
* | More info -> attempt renames | Håkon Hallingstad | 2020-09-28 | 2 | -11/+11 |
| | |||||
* | LockInfo -> LockAttempt, ThreadLockInfo -> ThreadLockStats, and more | Håkon Hallingstad | 2020-09-28 | 2 | -36/+44 |
| | |||||
* | Use deque as stack | Håkon Hallingstad | 2020-09-28 | 1 | -0/+23 |
| | |||||
* | Mock lock path from thread to per-lock (bug) | Håkon Hallingstad | 2020-09-26 | 2 | -1/+59 |
| | |||||
* | Adds method name to stack trace and adds timeout count and test | Håkon Hallingstad | 2020-09-25 | 1 | -0/+113 |
| | |||||
* | Stick to junit for simple test. | Henning Baldersheim | 2020-08-11 | 1 | -6/+5 |
| | |||||
* | Wait longer for servers to reach barrier | Harald Musum | 2020-04-29 | 1 | -3/+3 |
| | | | | | | | 1. Wait up to 2 seconds for all to reach barrier. 2. If not, wait up to 4 seconds for the server that waits for the barrier to be one of the respondents AND a majority of servers have reached barrier. 3. If not, wait for a majority of servers to have reached barrier. | ||||
* | Create zookeeper client config file only when necessary | Harald Musum | 2020-01-09 | 1 | -5/+4 |
| |