protected static class SplitIndexPartitionTask.AtomicUpdateSplitIndexPartitionTask extends AbstractAtomicUpdateTask<Void>
ITx.UNISOLATED operation that splits the live index using the
same Split points, generating new index partitions with new
partition identifiers. The old index partition is deleted as a
post-condition. The new index partitions are registered as a
post-condition. Any data that was accumulated in the live index on the
live journal is copied into the appropriate new BTree for the new
index partition on the live journal.AbstractTask.DelegateTask<T>, AbstractTask.InnerReadWriteTxServiceCallable<T>, AbstractTask.InnerWriteServiceCallable<T>, AbstractTask.ResubmitException| Modifier and Type | Field and Description |
|---|---|
protected OverflowActionEnum |
action
Either a normal split or a tail split.
|
protected UUID |
indexUUID
The expected UUID of the scale-out index.
|
protected SplitResult |
splitResult |
DEBUG, INFO, log, resourceManagercheckpointNanoTime, concurrencyManager, isReadWriteTx, nanoTime_assignedWorker, nanoTime_beginWork, nanoTime_finishedWork, nanoTime_submitTask, readOnly, taskCounters, timestamp, transactionManager, tx| Constructor and Description |
|---|
SplitIndexPartitionTask.AtomicUpdateSplitIndexPartitionTask(ResourceManager resourceManager,
String[] resource,
OverflowActionEnum action,
UUID indexUUID,
SplitResult splitResult,
Event updateEvent) |
| Modifier and Type | Method and Description |
|---|---|
protected Void |
doTask()
Atomic update.
|
assertSameIndextoStringassertResource, assertRunning, assertUnisolated, call, clearLoggingContext, dropIndex, getCommitTime, getIndex, getJournal, getOnlyResource, getResource, getResourceManager, getTaskCounters, getTaskName, getTimestamp, isResource, registerIndex, setupLoggingContext, toStringprotected final UUID indexUUID
protected final OverflowActionEnum action
protected final SplitResult splitResult
public SplitIndexPartitionTask.AtomicUpdateSplitIndexPartitionTask(ResourceManager resourceManager, String[] resource, OverflowActionEnum action, UUID indexUUID, SplitResult splitResult, Event updateEvent)
resourceManager - resource - action - indexUUID - The UUID of the scale-out index.splitResult - protected Void doTask() throws Exception
doTask in class AbstractTask<Void>null.Exception - The exception that will be thrown by AbstractTask.call() iff the
operation fails.InterruptedException - This exception SHOULD be thrown if
Thread.interrupted() becomes true during
execution.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.