[NO ISSUE][STO] Add API to get datasets pending IO
authorMurtadha Hubail <mhubail@apache.org>
Thu, 20 Aug 2020 17:08:46 +0000 (20:08 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Mon, 24 Aug 2020 18:35:46 +0000 (18:35 +0000)
commit3977ad24df8e2d3cc72c2226ec8ad6f6f58dddf6
tree939b049d56eb1a42d32dbbb4836ca479df79d90f
parentae092dd7cb3eec160950703edbf2967ba2b31e34
[NO ISSUE][STO] Add API to get datasets pending IO

- user model changes: no
- storage format changes: no
- interface changes: yes

Details:

- Add a new API that gets the number of pending io (flush/merge)
  ops for all datasets on an NC.

Change-Id: I062de60e36677f138c60855ff565a0610d80c998
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/7644
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Murtadha Hubail <mhubail@apache.org>
Reviewed-by: Till Westmann <tillw@apache.org>
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/api/IDatasetLifecycleManager.java
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/BaseOperationTracker.java
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetInfo.java
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/ioopcallbacks/LSMIOOperationCallback.java
asterixdb/asterix-common/src/main/java/org/apache/asterix/common/storage/StorageIOStats.java [new file with mode: 0644]
hyracks-fullstack/hyracks/hyracks-storage-am-lsm-common/src/main/java/org/apache/hyracks/storage/am/lsm/common/api/ILSMIOOperation.java