/[Apache-SVN]
ViewVC logotype

Revision 1221532


Jump to revision: Previous Next
Author: nspiegelberg
Date: Wed Dec 21 00:02:55 2011 UTC (12 years, 11 months ago)
Changed paths: 5
Log Message:
[jira] [HBase-5021] Enforce upper bound on timestamp

Summary:
We have been getting hit with performance problems on the ODS
side due to invalid timestamps being inserted by the timestamp.  ODS is
working on adding proper checks to app server, but production
performance could be severely impacted with significant recovery time if
something slips past.  Therefore, we should also allow the option to
check the upper bound in HBase.

This is the first draft.  Probably should allow per-CF customization.

Test Plan:  - mvn test -Dtest=TestHRegion#testPutWithTsTooNew

Reviewers: Kannan, Liyin, JIRA

CC: stack, nspiegelberg, tedyu, Kannan, mbautin

Differential Revision: 849

Changed paths

Path Details
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java modified , text changed
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java modified , text changed
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java modified , text changed
Directoryhbase/trunk/src/main/java/org/apache/hadoop/hbase/rest/RowResultGenerator.java modified , text changed
Directoryhbase/trunk/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26