Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
clean up old version for SSCC data before compaction

Change-Id: I347175c25ce319bc88e2271f661b1635bf930754

  1. … 2 more files in changeset.
Fixes for SSCC startId, commitId, and logging

Change-Id: I1005ee8a5d24b6a27c69eb760441a030e2787b8c

  1. … 12 more files in changeset.
Move core into subdir to combine repos

    • -26810
    • +0
    ./generated/SsccRegionProtos.java
    • -26232
    • +0
    ./generated/TrxRegionProtos.java
  1. … 10759 more files in changeset.
Move core into subdir to combine repos

    • -26232
    • +0
    ./generated/TrxRegionProtos.java
  1. … 10616 more files in changeset.
Move core into subdir to combine repos

Use: git log --follow -- <file>

to view file history thru renames.

  1. … 10823 more files in changeset.
Configuring hbase option MAX_VERSION via SQL

Change-Id: I88041d539b24de1289c15654151f5320b67eb289

  1. … 11 more files in changeset.
change startId&commitId as param

Change-Id: Id99d6cebd25cf40fff0b03cda705921781fd33ab

    • -1066
    • +1074
    ./SSccTableClient5.java
    • -1312
    • +1380
    ./SsccTableClientUtils.java
test case & del bug

Change-Id: I2ea628efeab0ec012b80dd5d0b0471f12d2634d6

    • -0
    • +1080
    ./SSccTableClient5.java
    • -0
    • +201
    ./SsccTableClient10.java
    • -0
    • +179
    ./SsccTableClient11.java
    • -0
    • +317
    ./SsccTableClient6.java
    • -0
    • +315
    ./SsccTableClient7.java
    • -0
    • +336
    ./SsccTableClient8.java
    • -0
    • +68
    ./SsccTableClient9.java
    • -0
    • +1418
    ./SsccTableClientUtils.java
Add global ID server into SSCC

The startId and commitId are now generated by a global ID server so

they are the same throughout the cluster. Without a global server

queries that spanned 2 region servers would return inconsistent results

Change-Id: If18cc7dc9d309dbc25fbf05c5666e47bd918ddeb

    • -1163
    • +2343
    ./generated/SsccRegionProtos.java
  1. … 28 more files in changeset.
Adding separate pending txn wait for preSplit

Pending wait does not have limit, will wait until

pending transactions have completed.

Also adding new properties to customize behavior:

hbase.transaction.split.drain.early

-If 'true' then split operation will not wait on

active transactions to complete. Will wait on

pending transactions. Default is 'false'

hbase.transaction.split.active.delay

-Sets time in milliseconds that the preSplit

observer will poll for the active transaction

list to be empty. Default is 15000 (15 seconds)

hbase.transaction.split.pending.delay

-Sets time in milliseconds that the preSplit

observer will poll for the pending transaction

list to be empty. Default is 500 (0.5 seconds)

Change-Id: I5d5a9cf376bfc8afed789e65f4f2b3b0e48ab6b5

Batch2PC Endpoint Coprocessor Phase 2:flush optimization

Change-Id: I9db4819f2eda74710e0199b9ece5c84aea3a0fd6

change for scan

SsccTransactionState.handleResult()

add if to decide whether data will display.

modify blank

SsccRegionEndpoint.java

modify blank

Change-Id: I971db75c5ff4ee8fca395d221ae8575cc0272188

  1. … 1 more file in changeset.
PutDelPutGet issue

to fix put[v1]--del[v1]--put[v2]--get[v2] issue.

SsccTransactionState.java

add method removeDelBeforePut,

SsccRegionEndpoint.java

invoke removeDelBeforePut in put() & change newDelete.deleteColumns to newDelete.deleteColumn in delete()

SsccTransactionState.java

change removeDelBeforePut() to del whole row. Don't compare the timestamp

change log.info() to log.trace()

change the formatting and replace the tabs with spaces

Change-Id: Ie3c253347c742932196c9004be3450b21fba688f

  1. … 1 more file in changeset.
Bug 1454034

This corrects a defect where the region would erroneously set the

TransactionState to aborted after already voting to commit it. This is

a violation of 2PC and would result in data inconsistency.

Change-Id: I3ceedc9f14bc3b59e99759e8d6336493cb7854fa

Batch2PC Endpoint Coprocessor Phase 1: Server API

Change-Id: I26bc73e6c9e84053bf8ca8e154eb2bd28fef0810

ClientSide batch RegionServer 2-phase commit calls

Disabled by default, use the option in ms.env to enable:

TM_BATCH_REGIONSERVER=1

Included in this change are the server-side stubs which

are needed for building as new protocol buffers have

been added to support the multiple regionserver sets

of names. Server-side changes will be added later.

Basic design: On the client-side we have a list of

all the regions we need to communicate with. On prepare/

commit/abort we send those calls out individually by region.

This change will group the region names per regionserver

into one protocol buffer and include that in the RPC

call to the server.

Error handling is done by collecting the problematic

regions into a separate list in the TransactionState.

These 'retry' regions are then retried using the

single-region calls.

Implemented coprocessor calls using single-region method.

Change-Id: I968f061ff603d55956c6b541a9bda1968e57481f

    • -1157
    • +5113
    ./generated/TrxRegionProtos.java
  1. … 4 more files in changeset.
Enabled commitId deadcode check and additional trace fixes

Change-Id: I492503077eb7057ba7fe9fa68ea14fb91b7a5ded

  1. … 1 more file in changeset.
Adding a configurable region split delay limit

Configuration property that can be set in hbase-site.xml is:

hbase.transaction.split.delay.limit

Default will be 360, which is a 6 hour delay max.

When the delay limit is surpassed, the HBase splits will

no longer be blocked from the TM perspective. HBase may

still have delays due to GC or other operations.

Change-Id: I327e62921a2429f0357a4e3b9ac51d49b0eb58a0

Adding break out of preSplit() loop on exception

Also commenting out log message that is filling up client-side

logs even if there is no activity. The zookeeper message will

still be printed as DEBUG to show if the ZNode is not present.

The break of out preSplit() was needed as on a RS abort, the

preSplit can get stuck in a state where it is keeping the RS

process up and in a while/sleep loop.

Change-Id: Ic93ded73d80ecb61c6ceda94339dc53f52ea1bf1

  1. … 1 more file in changeset.
change LOG.info to LOG.trace in SSCC critical path"

Change-Id: Ibaa344d2f9556c05dd29413db7e716e04eaf095a

  1. … 1 more file in changeset.
Delay added to TransactionManager call retries, LP 1439387

Change-Id: Iccaf80cb787661c95648c37fbb31b6e7f4d8badb

  1. … 1 more file in changeset.
Delay added to TransactionManager call retries, LP 1439387

Change-Id: Iccaf80cb787661c95648c37fbb31b6e7f4d8badb

  1. … 1 more file in changeset.
Remove SSCC stateless return values in checkAndPut

Revert global IdTm sequence numbers until signal problem is corrected

Change-Id: Ib1aadac0dcd58ecaa4db2747ad61873eb5b9b5d2

  1. … 4 more files in changeset.
performScan protocol enforcement, memory usage optional GC

Change-Id: I1c4e5383c62b80ca7ca0f8d57f2e929cddb8da6f

  1. … 1 more file in changeset.
Make use of IdTm server in SSCC; optimizations

Change-Id: I1c91901e46d89926380d3906b9016cfebf8ea76a

  1. … 1 more file in changeset.
LP 1438445, LinkList perf improvement for comodification errors

Change-Id: I858f2b90c0c188c1c2167a52049ba834d090dd74

  1. … 1 more file in changeset.
Make SSCC delete stateles; build SSCC as part of the Trx jar

Change-Id: Ibeb3eaf51ec3358a70df112d5a2165bc9e2afbf1

    • -264
    • +101
    ./generated/SsccRegionProtos.java
  1. … 2 more files in changeset.
Optimization for stateless put, remove dead code

Change-Id: Ieec94c4615ff9779d9368c65faecaf4548039f01

Fix for thread/memory leak on table create/drop

Objects that were put into our shared map between

coprocessors were not being removed. This change

adds a remove of the objects on a postClose() of

the region. A local thread was not being stopped

which lead to the TrxRegionEndpoint,TrxRegionObserver

and the thread itself not being GC'd as there was

still a reference.

Change-Id: Idaf3788d4a0b2065b93ec8746e3ea814615180b0

Initial changes for SSCC stateless put

Change-Id: I899c537548b09eb2d860063cd47a837769c00962

    • -0
    • +2088
    ./SsccTableClient.java
    • -101
    • +427
    ./generated/SsccRegionProtos.java
  1. … 2 more files in changeset.