asterixdb

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[NO ISSUE][TX] Fix DatasetLock for Multiple Index Builds

- user model changes: no

- storage format changes: no

- interface changes: no

details:

- The mechanism used for allowing multiple concurrent index

builds does not work if the first index build finishes

before other index builds. It relied on a write lock

obtained by the first index builder and released by

the last index builder. This is not allowed when using

ReentrantReadWriteLock and will lead to an

IllegalMonitorStateException since the last thread to exit

did not hold the lock.

- Potential Deadlock between modify and exclusive modify can

happen when an exclusive modify attempts to upgrade the

lock to write lock while the modify lock waits for the

exclusive lock to release. This has been fixed too.

- Test cases were added.

Change-Id: I3bea3ff2075d952ab13402b0c445c464b431c0f5

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2144

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

[NO ISSUE][HYR] Heartbeat processing / NC exceptions

- Run heartbeat processing off of Worker thread, to prevent starvation

- Preserve stacktrace when creating node-scoped HyracksDataException

clones

Change-Id: If8fd35a7fd488bed5f1d5e2146dd48892cb0a7a4

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2138

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

[NO ISSUE][STO] Add a callback on recycling of memory components

- user model changes: no

- storage format changes: no

- interface change: yes

- ILSMIOOperationCallbackFactory.createIoOpCallback now takes

the ILSMIndex as a parameter.

- Remove ILSMIOOperationCallback.setNumOfMutableComponents

The callback can find out the number of mutable components

on instantiation since the lsm index is now passed.

- ILSMIOOperationCallback.allocated was added.

It gets called whenever a memory component is allocated.

- ILSMIOOperationCallback.recycled was added.

It gets called whenever a memory component is recycled.

- ILSMIndex.hasMemoryComponent is replaced with

ILSMIndex.getNumberOfMemoryComponents

Change-Id: I578ffd7ef17784034c94f3c0d23cd5094e39f6e0

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2126

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

  1. … 91 more files in changeset.
[ASTERIXDB-2154][COMP] Extensible built-in function management

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Support for augmenting built-in functions in ILangExtension

- Move function type inferers from NonTaggedDataFormat to

FunctionTypeInferers, exposed through IFunctionDescriptorFactory

and IFunctionManager

- Cleanup: obtain IFunctionManager/IDataFormat from MetadataProvider

Change-Id: Iafbf7e4e298fb7af6cb84b402cb00cfa2e90b5ce

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2118

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

  1. … 45 more files in changeset.
[ASTERIXDB-1954][STO][RT] Add Index Drop Options

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add options to allow drop index to ignore

index does not exist and retry on index in-use.

- Add test case for new index drop options.

Change-Id: Id6f8fa52489bbe64d2f48c5c3d0a07be60f30b1b

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2121

Reviewed-by: Michael Blow <mblow@apache.org>

Integration-Tests: Michael Blow <mblow@apache.org>

Tested-by: Michael Blow <mblow@apache.org>

[NO ISSUE][STO] Fix memory leaks in storage

- user model changes: no

- storage format changes: no

- interface changes: yes

- Added javadocs to:

-- IBufferCache

-- IExtraPageBlockHelper

- Moved IBufferCache.setPageDiskId -> ICachedPage.setDiskPageId

- Renamed:

-- IBufferCache.flushDirtyPage -> IBufferCache.flush

-- IBufferCache.getNumPages -> IBufferCache.getPageBudget

- Removed:

-- IBufferCache.adviseWontNeed [not used]

-- IBufferCache.tryPin [not used]

details:

- Previously, when adding a kv pair to the metadata of a memory

component, we add a new Pair item to the ArrayList. After

this change, we only update it if it exists.

- VirtualBufferCache used to leak pages when reclaiming pages

of a file after deletion. This has also been fixed.

- New tests for VirtualBufferCache added:

- Checks for memory budget after end of testDisjointPins

- Concurrent Users pinning pages concurrently

- Test for large pages and ensuring allocated large

pages are accounted for through removal of cached

free pages.

Change-Id: I4ae9736c9b5fdba5795245bdf835c023e3f73b15

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2115

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

  1. … 25 more files in changeset.
[ASTERIXDB-2081][STO] Introduce DatasetMemoryManager

- user model changes: no

- storage format changes: no

- interface changes: yes

Added IDatasetMemoryManager to manage datasets memory

reservation and allocation.

Details:

- Reserve metadata datasets memory to allow them to be opened

when needed.

- Add UngracefulShutdownNCApplication to force recovery

to run on AsterixHyracksIntegrationUtil.

- Refactor the use of firstAvilableUserDatasetID to check

for metadata datasets.

- Add ThreadSafe annotation.

- Add test case for RecoveryManager after creating multiple

datasets.

Change-Id: Ica76b3c8eca6f7d2ad1d962fb5ef84267c258571

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2112

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

[NO ISSUE] Update plugin versions

Updated / aligned plugin versions as follows:

doxia-maven-plugin -> 1.1.4

git-commit-id-plugin -> 2.2.3

maven-enforcer-plugin -> 3.0.0-M1

maven-javadoc-plugin -> 3.0.0-M1

maven-jaxb2-plugin -> 0.13.2

maven-plugin-plugin -> 3.5

maven-site-plugin -> 3.4

Change-Id: Ifb75f6aa3b2555a981421b50b32cac75f28ef6fc

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2113

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

    • -1
    • +0
    /asterixdb/asterix-external-data/pom.xml
    • -1
    • +0
    /asterixdb/asterix-test-framework/pom.xml
[NO ISSUE][STO] Make compact use the index io operation callback

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: Ie06f480d729448de99dcce1912b72449940e4ea3

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2102

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

[NO ISSUE][OTH] Log flush requests coming from checkpoint thread

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: I18dde75dfc6ce8483e6494158990fcb88b3e048a

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2110

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Xikui Wang <xkkwww@gmail.com>

[NO ISSUE] Update plugin versions

Updated / aligned plugin versions as follows:

build-helper-maven-plugin -> 3.0.0

maven-antrun-plugin -> 1.8

maven-assembly-plugin -> 3.1.0

maven-clean-plugin -> 3.0.0

maven-compiler-plugin -> 3.7.0

maven-dependency-plugin -> 3.0.2

maven-failsafe-plugin -> 2.20.1

maven-jar-plugin -> 3.0.2

maven-resources-plugin -> 3.0.2

maven-scm-plugin -> 1.9.5

maven-surefire-plugin -> 2.20.1

versions-maven-plugin -> 2.5

Change-Id: I3bdeec1d8ac7c7cefa900a0b1d453cb845f85846

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2108

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

    • -3
    • +3
    /asterixdb/asterix-client-helper/pom.xml
    • -3
    • +1
    /asterixdb/asterix-experiments/pom.xml
    • -4
    • +0
    /asterixdb/asterix-external-data/pom.xml
    • -1
    • +0
    /asterixdb/asterix-lang-common/pom.xml
  1. … 19 more files in changeset.
[ASTERIXDB-2133] Fix unncessary binary search in GroupFrameAccessor

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- GroupFrameAccessor holds a list of frames from a run during the merge

step of merge sort. However, everytime we access a tuple, it performs

binary search to get the physical tuple index. This patch fixes this

by remembering the last accessed frame. It is expected that tuples

are accessed sequentially (since it's the merge step), which greatly

reduces binary searches

Change-Id: I4a1b19ad47f6b1dda4bd5c417932e4c9ba36a714

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2079

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

[NO ISSUE][*DB] LogFlusher fixes

Change-Id: I19e150f2560573738938967f389a397ad7150a4d

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2106

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[UI] Allow logical plan to be viewed as JSON / formatted JSON

- user model changes: no

- storage format changes: no

- interface changes: enhancements to the web interface

details:

Added drop-down menu for printing logical plan and optimized

logical plan in string,json, and clean-json.

Change-Id: I4dd62e355048a5b8a02e074049fe41e73e74e357

Reviewed-on: https://asterix-gerrit.ics.uci.edu/1885

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

Reviewed-by: Ian Maxon <imaxon@apache.org>

  1. … 3 more files in changeset.
[NO ISSUE][HYR] Support modifying Tracer categories after init

Change-Id: Id209ade0cd20022ad9ae2c9d0c49689081f112a7

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2105

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[NO ISSUE][ING] Make resume attempt on the same suspend/resume thread

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Previously, the resume attempt happens in a different thread but

uses the same metadata provider used by the suspension thread.

Additional locks gets acquired during compilation and added to

the locklist of the metadata provider. When the locks are

released, we get illegal state exception due to releasing

locks acquired by other threads.

Change-Id: Icc801923b167862286a5104b199cdc43e76096c8

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2104

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

[NO ISSUE][API] Add NC Query Cancellation API

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Introduce NCQueryCancellationServlet that uses NC<->CC

messaging to cancel queries.

Change-Id: I75d326b6987ed87ccc4b58c171bd45cab33a4009

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2103

Reviewed-by: Michael Blow <mblow@apache.org>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

[NO ISSUE][HYR][*DB] Minor refactoring / address SonarQube comments

Change-Id: Icf10b6df0fdc006675d8f0da6fd06d50200c6b6a

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2098

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

  1. … 46 more files in changeset.
[NO ISSUE][COMP] Set Default dataverse in MetadataProvider

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- If MetadataProvider is created with null as the default

dataverse, set it to the Builtin Default dataverse.

Change-Id: I652669c03f28fce84509c02c05374e2c39104d38

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2101

Reviewed-by: Michael Blow <mblow@apache.org>

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

[NO ISSUE][HYR] Avoid redundant touch of heartbeat time

Change-Id: I88bc16c354cc0de59fa33d47705e9a4ddd617569

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2100

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

Integration-Tests: Murtadha Hubail <mhubail@apache.org>

Tested-by: Murtadha Hubail <mhubail@apache.org>

[NO ISSUE][STO] Refactor Waiting For Dataset IO Ops

Change-Id: I6e37fe5062f471d30219c9d0a374c92a9917d513

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2099

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

[ASTERIXDB-1076][HYR] Prevent node death false positives

- Measure actual time since last heartbeat touched, not based on number

of dead cycle detections since last heartbeat received

- Update heartbeat touch on job result received, in addition to when

heartbeat data is received

- Minor refactoring in NC/CC config

Change-Id: Idb1abcc2b783b192b88ed988d398fcfe763531e9

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2097

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

[ASTERIXDB-2142][*DB][API] Guard against unavailable nc detail

hcc.getNodeDetailsJSON() & hcc.getThreadDump() APIs returns the null

string in case of unknown or not connected node- handle these in the

HTTP API.

Change-Id: I06a00f191812d25a6fef6c7cae7d693b258a6b6d

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2096

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[NO ISSUE][HYR] Don't suppress errors, check interrupted exceptions

Avoid suppressing instances of Error into a HyracksDataException,

instead rethrow it. Check when suppressing an InterruptedException that

the calling thread is itself interrupted, otherwise emit a warning

Change-Id: I9784a18aaaed93e16078437b1cff5006e2a33861

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2095

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[NO ISSUE][HYR] Avoid ClassCastException in processIncomingMessages

If an error occurs while in state of CONNECT_RECEIVED, a

ClassCastException would occur attempting to cast the exception to a

InetSocketAddress

Change-Id: Ie738cede8e0a6ec98857505f8b27624b77c34256

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2094

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <mhubail@apache.org>

[ISSUE PENDING][FUN] Prevent blind result write in external UDF

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

Current the result from UDF doesn't have type check. It's possible to

write data into result frame with a different datatype. This will cause

unpredicted behavior when reading the data. Also, to keep things

simpler, when return data type is not valid, we throw exception instead

of return null.

Change-Id: Ifce4a9e882febe4529f5c53e54db78e0cfa326fe

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2082

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Steven Jacobs <sjaco002@ucr.edu>

[ASTERIXDB-2132] Replace ITracer.check

- user model changes: no

- storage format changes: no

- interface changes: yes

Trace categories in the ITracer interface are represented by long

values where each bit represents a category.

Introduce ITraceCategoryRegistry, an interface for a registry/mapping

from Strings to bit positions representing categories.

- add simple tests for Tracer and TraceCategoryRegistry

Change-Id: I3f26ae988d3786ef4ddb17e8fe78f911e7e628f1

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2087

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

  1. … 3 more files in changeset.
[NO ISSUE][STO] Enable extension of LSMBTreeIOOperationCallback.afterOperation

- user model changes: no

- storage format changes: no

- interface changes: no

Change-Id: I57f1d60b47ba3fb6748c84ef4b24866943a3e57d

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2092

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

[NO ISSUE][RT] Prevent setting AMutableString value to null

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- An instance of AMutableString can't hold null value.

Change-Id: I8e7b19b190120e64ec78b41f26ef54fce9660e27

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2090

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>

[NO ISSUE][OTH] Add API to Clear Queued Jobs

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Add API to clear queued jobs.

- Introduce thread safety annotations.

Change-Id: Ibf085f100f7ca06250fbae26d948a037ffe6e857

Reviewed-on: https://asterix-gerrit.ics.uci.edu/2089

Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Michael Blow <mblow@apache.org>