aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mehrdad Nurolahzade <mehr...@apache.org>
Subject Review Request 58863: AURORA-1922 Expose stats on the number of jobs stored in MemCronJobStore
Date Fri, 28 Apr 2017 23:15:37 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/58863/
-----------------------------------------------------------

Review request for Aurora, David McLaughlin and Stephan Erb.


Bugs: AURORA-1922
    https://issues.apache.org/jira/browse/AURORA-1922


Repository: aurora


Description
-------

Exposing stats on the size of `jobs` map in `MemCronJobStore`.


Diffs
-----

  src/main/java/org/apache/aurora/scheduler/storage/mem/MemCronJobStore.java 50cfb357f5956eb87cbe6e40837757d752963611

  src/test/java/org/apache/aurora/scheduler/storage/AbstractCronJobStoreTest.java c316e497a34a45c7ada2ca83a1115e826c0f572f

  src/test/java/org/apache/aurora/scheduler/storage/mem/MemCronJobStoreTest.java 82e032944591ae8dac706c232f7fc132954b5b4e



Diff: https://reviews.apache.org/r/58863/diff/1/


Testing
-------

```
$ curl -s localhost:8081/vars | grep mem_storage_cron_size
mem_storage_cron_size 1
```


Thanks,

Mehrdad Nurolahzade


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message