asterixdb

Clone Tools
  • last updated 18 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[ASTERIXDB-2366][TEST] Optimizer tests cleanup for SQL++

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

The current optimizerTest actually doesn't use the SQL++ test cases.

The existed test cases for SQLPP also have various issues.

This patch cleans part of the test cases which failed at variable names

changes in the result query plan.

Change-Id: I8dbe67d6376d517a4919e8478a6e88326b3e1cc0

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

  1. … 445 more files in changeset.
[NO ISSUE] Reduce runtime dependencies on commons-lang

Change-Id: Iff6678efff502b566020896320ecdf170ade720a

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

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>

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

    • -4
    • +0
    /asterixdb/asterix-lang-common/pom.xml
  1. … 4 more files in changeset.
[NO ISSUE][API] Make QueryServiceServlet Extensible

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Change the visibility of QueryServiceServlet inner classes

to allow extensibility.

Change-Id: I9c0e845bf45644fa103c3189259dd53778b7b228

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

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>

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

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

[NO ISSUE] Remove instance.name, storage.subdir config properties

Change-Id: Ic530559e96eb4c744499f46a5595e3a4c59f7683

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

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

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

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

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

[NO ISSUE][OTR] Eliminate Per Tuple Object Creation

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Replace unneeded LinkedList by ArrayList in

ChainedLSMDiskComponentBulkLoader and eliminate

iterator creation per tuple.

- Eliminate iterator creation per tuple in LSMHarness.

Change-Id: I7d3a5472c70c4564290daeb6e99d508000521119

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

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

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

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>

[ASTERIXDB-2347][DOC] Update Configurable Parameters

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Update added/removed configurable parameters and

fix defaults.

Change-Id: I92c6c1493e8ba5c76671169529653b9141ee748c

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

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: Michael Blow <mblow@apache.org>

Merge commit 'e20c7eea498263f92267f4cbc39ad9372006ff6c' from release-0.9.4-pre-rc

Change-Id: I32462904d0c876b627412a20bd65d2190544a016

    • -19
    • +0
    /asterixdb/asterix-external-data/pom.xml
[ASTERIXDB-2361][HYR] Memory Leak Due to Netty Close Listeners

- user model changes: no

- storage format changes: no

- interface changes:

- add IServletResponse.notifyChannelInactive()

Change-Id: I40156538d62a3c06b9ccc14338c3f554921a12b8

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

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][COMP] Fix infinite loop in CheckFilterExpressionTypeRule

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

When select condition is a UNION type, but not a BOOLEAN or ANY, this rule

may fall into infinite loop.

Change-Id: Ice4c9aa61658197a7140517d0a770886dfe040ec

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

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: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

[NO ISSUE] Remove dependencies on extraneous xml libraries

Change-Id: I31ba64478e63be77994644add78d834642690de8

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

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: Till Westmann <tillw@apache.org>

    • -19
    • +0
    /asterixdb/asterix-external-data/pom.xml
[NO ISSUE] Don't break lines without whitespace by default

Add a new boolean indent parameter "strict" to denote when lines should

be force-wrapped even when there are no word breaks.

Change-Id: I716caf020466f30e469531d0bd8498d0c781c2af

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

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>

[ASTERIXDB-2355][SQL] Incorrect error reporting by SQL++ parser

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fixes incorrect error reporting by SQL++ parser.

Error messages like: “Flags=“, “Conversion=“

Change-Id: Id68f2b039c8198509658a90a60b8a8dc95361a84

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

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

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

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

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

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

[NOISSUE][ING] Leave permanently failed actives during recovery

Change-Id: I4cbeae666b1e5d5a9b29a33bac141d60244283ab

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

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][RT] Use ThreadLocal date format to format dates

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Instead of creating a new date format object for formatting

trace logs, use a thread local instance.

Change-Id: I361542815af7c93291fd6251d9b335c2eb01af56

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

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][CLUSTER] Poll CC Registration Response

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Check for CC registration response while waiting

to avoid waiting forever.

Change-Id: I6e2d5ea0ef315d90784a58ee2748a422812b4a2f

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

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>

[ASTERIXDB-2349][SITE] Revise fulltext and similarity documentation

- user model changes: no

- storage format changes: no

- interface changes: no

Details: Update all examples in the fulltext and similarity documentation

using SQLPP.

Change-Id: Icd9c5bc6249feb03b4297bdc84b5f3aa0efcdc47

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

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] Use Async Write Mode in ResultState

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Use Async write mode in ResultState to improve it's throughput.

- For concurrent reader, use the same file handle (since it's a

RandomAccessFile) for both read/write. Reference counting is used to

ensure the file is properly opened/closed.

Change-Id: Ia053f8e258759881583deb509425b585bc3c4bf2

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

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>

[NO ISSUE][API] Add Execution Plans to Query Services

- user model changes: no

- storage format changes: no

- interface changes: yes

- Add execution plans parameters to query service.

- Remove HTML code generation from APIFramework.

Change-Id: I99215243aae2cb96174671d109084a82af877335

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

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

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

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

[NO ISSUE][API] Add Execution Plans to Query Services

- user model changes: no

- storage format changes: no

- interface changes: yes

- Add execution plans parameters to query service.

- Remove HTML code generation from APIFramework.

Change-Id: I99215243aae2cb96174671d109084a82af877334

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

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] Support dir names in generated license files

Change-Id: I5af9d85fc95835d6177bdd32c9df6306e87255e3

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

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

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

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

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

[ASTERIXDB-2353][HYR][RT][FAIL] Provide complete thread dumps

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Implements a thread dump mechanism that does not truncate stack

frames after the top 8

Change-Id: Id778615b3ac8951113d6b9ea027ad8650b784cb2

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

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

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

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

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

Merge commit '8db70084f0593983af6ed877ccf50553dec4649c' from release-0.9.4-pre-rc

Change-Id: I3514c30a78bdf1a05bffb8858e7b0634e8b89595

[NO ISSUE][TRACE] Cleanups for performance tracer

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Move all Trace categories into a single place.

- Cleanup the interface and add some javadocs.

- Performance optimizations when logger is used.

- Add a new storage log for last record in.

Change-Id: Ib65edd6e7093dfd6f94ef750c484501b92c7a8a0

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

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-2352][FUN] Incorrect leap year handling in duration arithmetic

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- DurationArithmeticOperations.addDuration() incorrectly handled leap year

Change-Id: I01e1417f4704d72a4650ec4f2fa257f044a20a09

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

Reviewed-by: Till Westmann <tillw@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][FAIL] Remove Not Serializable Field From ACIDException

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Remove not serializable ITransactionContext from ACIDException to

avoid serialization error when reporting errors to CC.

- Properly handle InterruptedException in lock manager.

- Remove unneeded WaitInterruptedException class.

Change-Id: Iee054a432b3e618579c3bc418175deab6abfb965

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

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: Till Westmann <tillw@apache.org>

[NO ISSUE][API] Remove Legacy APIs

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Incremental progress towards removing

all legacy APIs and replacing them by

the query service.

- Use /query/aql to execute AQL tests.

- Adjust AQL test cases results to query/aql

output.

Change-Id: If6bfb06236d2bc480adf22bf16d5cca6a8edc726

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

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][MD] Remove Legacy Metadata Latch

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Remove legacy metadata latch that was used before

the metadata entity locking was introduced.

Change-Id: I5b6b7153c8bc7bb6b489242c5d651879a09b57e0

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

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] Increase Default Log Page Size

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- The current log page default size (128KB) is too small for high

throughput disk writes. Increase it to 4MB.

Change-Id: I83595e12abb531293a64eb12a1be3e15bafca463

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

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][TEST] Remove AQL Parallelism Tests

- user model changes: no

- storage format changes: no

- interface changes: yes

Change-Id: Ib217c48922b9dd18aab2cc8d27d80af1c3fb5fb9

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

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>

[NO ISSUE][STO] Misc fixes in storage

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Blocking IO callback used to wait for any notification on the

callback before returning. The behaviour was fixed to only return

if the completion flag was set on afterFinalize.

- Reading and writing to and from memory component's didn't do any

locking and so, this could read to concurrency issues.

- Reading metadata values used to rely on pointables which can be

problematic because then the caller will need to latch/pin the

page correctly. To avoid this, readers of metadata pages will

always take a copy of the metadata.

Change-Id: I4bdc4c16a9c126d311378e56651632bbb4a50864

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

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

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

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>