asterixdb

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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>

[ASTERIXDB-2351][COMP] Allow '+' after exponent indicator in double literals

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Allow '+' sign after exponent indicator when parsing

double literals in scientific notation

Change-Id: I1f27c0db786269cce90ef43463df1a398fd1e5cd

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

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>

[ASTERIXDB-2343][FUN] Implement to_array(), to_atomic(), to_object()

- user model changes: yes

- storage format changes: no

- interface changes: no

Details:

- Implement to_array(), to_atomic(), to_object() functions

- Add function aliases: to_bool, to_str

Change-Id: I6391a060ecd86cd397dd0a59f4930c4c55216d3b

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

Reviewed-by: Till Westmann <tillw@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>

  1. … 8 more files in changeset.
[NO ISSUE][REPL] Use String.compareTo To Sort Replicated Files

- user model changes: no

- storage format changes: no

- interface changes: no

- Use String.compareTo to sort replicated files

instead of custom comparator.

Change-Id: I45c106d5cff6e07d16a9a7ce286a2ac563a80338

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

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

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>

[ASTERIXDB-2348][COMP] Incorrect result with distinct aggregate

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Account for micro group by/distinct by operators in

EnforceStructuralPropertiesRule

Change-Id: I0f440046d6cdb2dc0302c5aa4c01ffacb703ee73

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

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][COMP] Check logging level before writing a log message

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Cleanup: Check logging level before writing to the logger

Change-Id: Ib126397c390f0d32436a80a306981106afa2a794

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

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>

[ASTERIXDB-2280][IDX] Fix Index on Optional Nested Field

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Fix the creation of indexes on optional nested field

by handling AUnionType properly.

- Fix the nullability check of primary keys.

Change-Id: If098ff4a45db3c4e8b65d098cbb0940c8b7ab845

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

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

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

Reviewed-by: Dmitry Lychagin <dmitry.lychagin@couchbase.com>

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

[ASTERIXDB-2346][COMP] Constant folding should not fail on runtime exceptions

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- Constant folding rule should not fail on runtime exceptions

- throw RuntimeDataException instead of java.lang.ArithmeticException

from numeric operators

Change-Id: I286551a98f57df798ce982228a66d6a1e3fc7304

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

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

[ASTERIXDB-2345][FUN] Fix runtime output type for object_names()

- user model changes: no

- storage format changes: no

- interface changes: no

Details:

- object_names() should produce ordered_list<string> instead of ordered_list<any>

Change-Id: I5181680bfe978d4208141a30b2167f78368bcf8d

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

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>

Merge commit '6453ecf2f0dff1ec1306c8c5c1e4f81a27755431' from release-0.9.4-pre-rc

Change-Id: I6baed7a75ec38755d6e040f2b7f1ede54c191f0f

[NO ISSUE][REPL] Ignore LSNs of Partially Replicated Indexes

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- When determining low watermark, ignore LSN of replicated

indexes with no checkpoints.

- Guard logs in case of unexpected min LSN read failures.

- Ensure only one replica is synchronized at a time to prevent

possible merge operations from deleting files being synchronized

to another replica concurrently.

- Ensure index metadata files are replicated first to allow

replicas to find any existing files in case of re-synchronization.

- Ensure replication channel is closed on replication failures.

Change-Id: I9ca08da29bdd8fc4406f2df7e6eb32601caf9388

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

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] Inherit Closeable in IFrameOperationCallback

- user model changes: no

- storage format changes: no

- interface changes: yes

Details:

- Primary upsert operator uses an IFrameOperationCallback

to perform per frame operations. In this change,

IFrameOperationCallback extends Closeable and allow the

callback to release resources on the close of the pipeline.

Change-Id: Iaacd6538c27d5498868256616a793e0ebcec3729

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

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>