diff --git a/column/column_test.go b/column/column_test.go index 2c1c7d248f..f63dac42ee 100644 --- a/column/column_test.go +++ b/column/column_test.go @@ -19,6 +19,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -31,6 +32,7 @@ func TestT(t *testing.T) { type testColumnSuite struct{} func (s *testColumnSuite) TestString(c *C) { + defer testleak.AfterTest(c)() col := &Col{ model.ColumnInfo{ FieldType: *types.NewFieldType(mysql.TypeTiny), @@ -75,6 +77,7 @@ func (s *testColumnSuite) TestString(c *C) { } func (s *testColumnSuite) TestFind(c *C) { + defer testleak.AfterTest(c)() cols := []*Col{ newCol("a"), newCol("b"), @@ -87,6 +90,7 @@ func (s *testColumnSuite) TestFind(c *C) { } func (s *testColumnSuite) TestCheck(c *C) { + defer testleak.AfterTest(c)() col := newCol("a") col.Flag = mysql.AutoIncrementFlag cols := []*Col{col, col} @@ -98,6 +102,7 @@ func (s *testColumnSuite) TestCheck(c *C) { } func (s *testColumnSuite) TestDesc(c *C) { + defer testleak.AfterTest(c)() col := newCol("a") col.Flag = mysql.AutoIncrementFlag | mysql.NotNullFlag | mysql.PriKeyFlag NewColDesc(col) diff --git a/ddl/bg_worker_test.go b/ddl/bg_worker_test.go index 99a99d69bf..6771ed6474 100644 --- a/ddl/bg_worker_test.go +++ b/ddl/bg_worker_test.go @@ -21,9 +21,11 @@ import ( "github.com/pingcap/tidb/meta" "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" ) func (s *testDDLSuite) TestDropSchemaError(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_drop_schema") defer store.Close() @@ -58,6 +60,7 @@ func verifyBgJobState(c *C, d *ddl, job *model.Job, state model.JobState) { } func (s *testDDLSuite) TestDropTableError(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_drop_table") defer store.Close() @@ -84,6 +87,7 @@ func (s *testDDLSuite) TestDropTableError(c *C) { } func (s *testDDLSuite) TestInvalidBgJobType(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_invalid_bg_job_type") defer store.Close() diff --git a/ddl/callback_test.go b/ddl/callback_test.go index 4ae1395e6b..d66a6dc8c8 100644 --- a/ddl/callback_test.go +++ b/ddl/callback_test.go @@ -16,6 +16,7 @@ package ddl import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/model" + "github.com/pingcap/tidb/util/testleak" ) type testDDLCallback struct { @@ -44,6 +45,7 @@ func (tc *testDDLCallback) OnJobUpdated(job *model.Job) { } func (s *testDDLSuite) TestCallback(c *C) { + defer testleak.AfterTest(c)() cb := &BaseCallback{} c.Assert(cb.OnChanged(nil), IsNil) cb.OnJobRunBefore(nil) diff --git a/ddl/column_test.go b/ddl/column_test.go index a3c6112fa4..7af364b5e8 100644 --- a/ddl/column_test.go +++ b/ddl/column_test.go @@ -26,6 +26,7 @@ import ( "github.com/pingcap/tidb/table" "github.com/pingcap/tidb/table/tables" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -104,6 +105,7 @@ func testDropColumn(c *C, ctx context.Context, d *ddl, dbInfo *model.DBInfo, tbl } func (s *testColumnSuite) TestColumn(c *C) { + defer testleak.AfterTest(c)() tblInfo := testTableInfo(c, s.d, "t1", 3) ctx := testNewContext(c, s.d) defer ctx.FinishTxn(true) @@ -550,6 +552,7 @@ func (s *testColumnSuite) testGetColumn(c *C, t table.Table, name string, isExis } func (s *testColumnSuite) TestAddColumn(c *C) { + defer testleak.AfterTest(c)() d := newDDL(s.store, nil, nil, 100*time.Millisecond) tblInfo := testTableInfo(c, d, "t", 3) ctx := testNewContext(c, d) @@ -616,6 +619,7 @@ func (s *testColumnSuite) TestAddColumn(c *C) { } func (s *testColumnSuite) TestDropColumn(c *C) { + defer testleak.AfterTest(c)() d := newDDL(s.store, nil, nil, 100*time.Millisecond) tblInfo := testTableInfo(c, d, "t", 4) ctx := testNewContext(c, d) diff --git a/ddl/ddl_db_test.go b/ddl/ddl_db_test.go index 62932b00f0..adc6d3c623 100644 --- a/ddl/ddl_db_test.go +++ b/ddl/ddl_db_test.go @@ -32,6 +32,7 @@ import ( "github.com/pingcap/tidb/sessionctx" "github.com/pingcap/tidb/table" "github.com/pingcap/tidb/terror" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -91,6 +92,7 @@ func (s *testDBSuite) TearDownSuite(c *C) { } func (s *testDBSuite) TestIndex(c *C) { + defer testleak.AfterTest(c)() s.testAddIndex(c) s.testDropIndex(c) } @@ -309,6 +311,7 @@ func (s *testDBSuite) showColumns(c *C, tableName string) [][]interface{} { } func (s *testDBSuite) TestColumn(c *C) { + defer testleak.AfterTest(c)() s.testAddColumn(c) s.testDropColumn(c) } diff --git a/ddl/ddl_worker_test.go b/ddl/ddl_worker_test.go index 9ea5331325..94c8c64107 100644 --- a/ddl/ddl_worker_test.go +++ b/ddl/ddl_worker_test.go @@ -27,6 +27,7 @@ import ( "github.com/pingcap/tidb/store/localstore" "github.com/pingcap/tidb/store/localstore/goleveldb" "github.com/pingcap/tidb/terror" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -65,6 +66,7 @@ func testCheckOwner(c *C, d *ddl, isOwner bool, flag JobType) { } func (s *testDDLSuite) TestCheckOwner(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_owner") defer store.Close() @@ -109,6 +111,7 @@ func (s *testDDLSuite) TestCheckOwner(c *C) { } func (s *testDDLSuite) TestSchemaError(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_schema_error") defer store.Close() @@ -131,6 +134,7 @@ func (s *testDDLSuite) TestSchemaError(c *C) { } func (s *testDDLSuite) TestTableError(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_table_error") defer store.Close() @@ -201,6 +205,7 @@ func (s *testDDLSuite) TestTableError(c *C) { } func (s *testDDLSuite) TestIndexError(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_index_error") defer store.Close() @@ -303,6 +308,7 @@ func (s *testDDLSuite) TestIndexError(c *C) { } func (s *testDDLSuite) TestColumnError(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_column_error") defer store.Close() diff --git a/ddl/index_test.go b/ddl/index_test.go index d61a03f74d..72485bfb6b 100644 --- a/ddl/index_test.go +++ b/ddl/index_test.go @@ -26,6 +26,7 @@ import ( "github.com/pingcap/tidb/table" "github.com/pingcap/tidb/table/tables" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -88,6 +89,7 @@ func testDropIndex(c *C, ctx context.Context, d *ddl, dbInfo *model.DBInfo, tblI } func (s *testIndexSuite) TestIndex(c *C) { + defer testleak.AfterTest(c)() tblInfo := testTableInfo(c, s.d, "t1", 3) ctx := testNewContext(c, s.d) defer ctx.FinishTxn(true) @@ -562,6 +564,7 @@ func (s *testIndexSuite) checkAddOrDropIndex(c *C, state model.SchemaState, d *d } func (s *testIndexSuite) TestAddIndex(c *C) { + defer testleak.AfterTest(c)() d := newDDL(s.store, nil, nil, 100*time.Millisecond) tblInfo := testTableInfo(c, d, "t", 3) ctx := testNewContext(c, d) @@ -629,6 +632,7 @@ func (s *testIndexSuite) TestAddIndex(c *C) { } func (s *testIndexSuite) TestDropIndex(c *C) { + defer testleak.AfterTest(c)() d := newDDL(s.store, nil, nil, 100*time.Millisecond) tblInfo := testTableInfo(c, d, "t", 3) ctx := testNewContext(c, d) diff --git a/ddl/reorg_test.go b/ddl/reorg_test.go index 49f45f351c..7b2332cd43 100644 --- a/ddl/reorg_test.go +++ b/ddl/reorg_test.go @@ -20,6 +20,7 @@ import ( "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/meta" "github.com/pingcap/tidb/model" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -32,6 +33,7 @@ func (k testCtxKeyType) String() string { const testCtxKey testCtxKeyType = 0 func (s *testDDLSuite) TestReorg(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_reorg") defer store.Close() @@ -112,6 +114,7 @@ func (s *testDDLSuite) TestReorg(c *C) { } func (s *testDDLSuite) TestReorgOwner(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_reorg_owner") defer store.Close() diff --git a/ddl/schema_test.go b/ddl/schema_test.go index 0085793629..7ada40b591 100644 --- a/ddl/schema_test.go +++ b/ddl/schema_test.go @@ -24,6 +24,7 @@ import ( "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/terror" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testSchemaSuite{}) @@ -131,6 +132,7 @@ func testCheckJobCancelled(c *C, d *ddl, job *model.Job) { } func (s *testSchemaSuite) TestSchema(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_schema") defer store.Close() @@ -161,6 +163,7 @@ func (s *testSchemaSuite) TestSchema(c *C) { } func (s *testSchemaSuite) TestSchemaWaitJob(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_schema_wait") defer store.Close() @@ -227,6 +230,7 @@ LOOP: } func (s *testSchemaSuite) TestSchemaResume(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_schema_resume") defer store.Close() diff --git a/ddl/stat_test.go b/ddl/stat_test.go index c015139b62..21e3ad660e 100644 --- a/ddl/stat_test.go +++ b/ddl/stat_test.go @@ -19,6 +19,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testStatSuite{}) @@ -34,6 +35,7 @@ func (s *testStatSuite) getDDLSchemaVer(c *C, d *ddl) int64 { } func (s *testStatSuite) TestStat(c *C) { + defer testleak.AfterTest(c)() store := testCreateStore(c, "test_stat") defer store.Close() diff --git a/ddl/table_test.go b/ddl/table_test.go index 88766e7b04..c552db5602 100644 --- a/ddl/table_test.go +++ b/ddl/table_test.go @@ -27,6 +27,7 @@ import ( "github.com/pingcap/tidb/sessionctx/variable" "github.com/pingcap/tidb/table" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -149,6 +150,7 @@ func testNewContext(c *C, d *ddl) context.Context { } func (s *testTableSuite) TestTable(c *C) { + defer testleak.AfterTest(c)() d := s.d ctx := testNewContext(c, d) @@ -185,6 +187,7 @@ func (s *testTableSuite) TestTable(c *C) { } func (s *testTableSuite) TestTableResume(c *C) { + defer testleak.AfterTest(c)() d := s.d testCheckOwner(c, d, true, ddlJobFlag) diff --git a/evaluator/builtin_control_test.go b/evaluator/builtin_control_test.go index 4e3bd2ed74..4e4407f768 100644 --- a/evaluator/builtin_control_test.go +++ b/evaluator/builtin_control_test.go @@ -17,10 +17,12 @@ import ( "errors" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) func (s *testEvaluatorSuite) TestIf(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Arg1 interface{} Arg2 interface{} @@ -43,6 +45,7 @@ func (s *testEvaluatorSuite) TestIf(c *C) { } func (s *testEvaluatorSuite) TestIfNull(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Arg1 interface{} Arg2 interface{} @@ -61,6 +64,7 @@ func (s *testEvaluatorSuite) TestIfNull(c *C) { } func (s *testEvaluatorSuite) TestNullIf(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Arg1 interface{} Arg2 interface{} diff --git a/evaluator/builtin_info_test.go b/evaluator/builtin_info_test.go index b1d20ed2c7..8968094410 100644 --- a/evaluator/builtin_info_test.go +++ b/evaluator/builtin_info_test.go @@ -19,10 +19,12 @@ import ( "github.com/pingcap/tidb/sessionctx/db" "github.com/pingcap/tidb/sessionctx/variable" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) func (s *testEvaluatorSuite) TestDatabase(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() d, err := builtinDatabase(types.MakeDatums(), ctx) c.Assert(err, IsNil) @@ -35,6 +37,7 @@ func (s *testEvaluatorSuite) TestDatabase(c *C) { } func (s *testEvaluatorSuite) TestFoundRows(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() d, err := builtinFoundRows(types.MakeDatums(), ctx) c.Assert(err, NotNil) @@ -47,6 +50,7 @@ func (s *testEvaluatorSuite) TestFoundRows(c *C) { } func (s *testEvaluatorSuite) TestUser(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() variable.BindSessionVars(ctx) sessionVars := variable.GetSessionVars(ctx) @@ -58,6 +62,7 @@ func (s *testEvaluatorSuite) TestUser(c *C) { } func (s *testEvaluatorSuite) TestCurrentUser(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() variable.BindSessionVars(ctx) sessionVars := variable.GetSessionVars(ctx) @@ -69,6 +74,7 @@ func (s *testEvaluatorSuite) TestCurrentUser(c *C) { } func (s *testEvaluatorSuite) TestConnectionID(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() variable.BindSessionVars(ctx) sessionVars := variable.GetSessionVars(ctx) @@ -80,6 +86,7 @@ func (s *testEvaluatorSuite) TestConnectionID(c *C) { } func (s *testEvaluatorSuite) TestVersion(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() v, err := builtinVersion(nil, ctx) c.Assert(err, IsNil) diff --git a/evaluator/builtin_math_test.go b/evaluator/builtin_math_test.go index a460dddb05..eb36d25688 100644 --- a/evaluator/builtin_math_test.go +++ b/evaluator/builtin_math_test.go @@ -15,10 +15,12 @@ package evaluator import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) func (s *testEvaluatorSuite) TestAbs(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Arg interface{} Ret interface{} @@ -41,6 +43,7 @@ func (s *testEvaluatorSuite) TestAbs(c *C) { } func (s *testEvaluatorSuite) TestRand(c *C) { + defer testleak.AfterTest(c)() v, err := builtinRand(make([]types.Datum, 0), nil) c.Assert(err, IsNil) c.Assert(v.GetFloat64(), Less, float64(1)) @@ -48,6 +51,7 @@ func (s *testEvaluatorSuite) TestRand(c *C) { } func (s *testEvaluatorSuite) TestPow(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Arg []interface{} Ret float64 diff --git a/evaluator/builtin_string_test.go b/evaluator/builtin_string_test.go index bf6c2e6c85..ef61c0e600 100644 --- a/evaluator/builtin_string_test.go +++ b/evaluator/builtin_string_test.go @@ -23,10 +23,12 @@ import ( "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) func (s *testEvaluatorSuite) TestLength(c *C) { + defer testleak.AfterTest(c)() d, err := builtinLength(types.MakeDatums([]interface{}{nil}...), nil) c.Assert(err, IsNil) c.Assert(d.Kind(), Equals, types.KindNull) @@ -54,6 +56,7 @@ func (s *testEvaluatorSuite) TestLength(c *C) { } func (s *testEvaluatorSuite) TestConcat(c *C) { + defer testleak.AfterTest(c)() args := []interface{}{nil} v, err := builtinConcat(types.MakeDatums(args...), nil) @@ -76,6 +79,7 @@ func (s *testEvaluatorSuite) TestConcat(c *C) { } func (s *testEvaluatorSuite) TestConcatWS(c *C) { + defer testleak.AfterTest(c)() args := types.MakeDatums([]interface{}{nil}...) v, err := builtinConcatWS(args, nil) @@ -94,6 +98,7 @@ func (s *testEvaluatorSuite) TestConcatWS(c *C) { } func (s *testEvaluatorSuite) TestLeft(c *C) { + defer testleak.AfterTest(c)() args := types.MakeDatums([]interface{}{"abcdefg", int64(2)}...) v, err := builtinLeft(args, nil) c.Assert(err, IsNil) @@ -119,6 +124,7 @@ func (s *testEvaluatorSuite) TestLeft(c *C) { } func (s *testEvaluatorSuite) TestRepeat(c *C) { + defer testleak.AfterTest(c)() args := []interface{}{"a", int64(2)} v, err := builtinRepeat(types.MakeDatums(args...), nil) c.Assert(err, IsNil) @@ -146,6 +152,7 @@ func (s *testEvaluatorSuite) TestRepeat(c *C) { } func (s *testEvaluatorSuite) TestLowerAndUpper(c *C) { + defer testleak.AfterTest(c)() d, err := builtinLower(types.MakeDatums([]interface{}{nil}...), nil) c.Assert(err, IsNil) c.Assert(d.Kind(), Equals, types.KindNull) @@ -176,6 +183,7 @@ func (s *testEvaluatorSuite) TestLowerAndUpper(c *C) { } func (s *testEvaluatorSuite) TestStrcmp(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input []interface{} Expect interface{} @@ -204,6 +212,7 @@ func (s *testEvaluatorSuite) TestStrcmp(c *C) { } func (s *testEvaluatorSuite) TestReplace(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input []interface{} Expect interface{} @@ -226,6 +235,7 @@ func (s *testEvaluatorSuite) TestReplace(c *C) { } func (s *testEvaluatorSuite) TestSubstring(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { str string pos int64 @@ -285,6 +295,7 @@ func (s *testEvaluatorSuite) TestSubstring(c *C) { } func (s *testEvaluatorSuite) TestConvert(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() tbl := []struct { str string @@ -333,6 +344,7 @@ func (s *testEvaluatorSuite) TestConvert(c *C) { } func (s *testEvaluatorSuite) TestSubstringIndex(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { str string delim string @@ -396,6 +408,7 @@ func (s *testEvaluatorSuite) TestSubstringIndex(c *C) { } func (s *testEvaluatorSuite) TestLocate(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { subStr string Str string @@ -485,6 +498,7 @@ func (s *testEvaluatorSuite) TestLocate(c *C) { } func (s *testEvaluatorSuite) TestTrim(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { str interface{} remstr interface{} diff --git a/evaluator/builtin_test.go b/evaluator/builtin_test.go index 824e7a755d..1f39891f62 100644 --- a/evaluator/builtin_test.go +++ b/evaluator/builtin_test.go @@ -15,9 +15,11 @@ package evaluator import ( "fmt" - . "github.com/pingcap/check" - "github.com/pingcap/tidb/util/types" "reflect" + + . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" + "github.com/pingcap/tidb/util/types" ) // tblToDtbl is a util function for test. @@ -37,6 +39,7 @@ func tblToDtbl(i interface{}) []map[string][]types.Datum { } return tbl } + func makeDatums(i interface{}) []types.Datum { if i != nil { t := reflect.TypeOf(i) @@ -91,6 +94,7 @@ func (checker *datumEqualsChecker) Check(params []interface{}, names []string) ( } func (s *testEvaluatorSuite) TestCoalesce(c *C) { + defer testleak.AfterTest(c)() args := types.MakeDatums(1, nil) v, err := builtinCoalesce(args, nil) c.Assert(err, IsNil) diff --git a/evaluator/builtin_time_test.go b/evaluator/builtin_time_test.go index bf62c9d34f..2b501b96b2 100644 --- a/evaluator/builtin_time_test.go +++ b/evaluator/builtin_time_test.go @@ -22,10 +22,12 @@ import ( "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) func (s *testEvaluatorSuite) TestDate(c *C) { + defer testleak.AfterTest(c)() tblDate := []struct { Input interface{} Expect interface{} @@ -172,6 +174,7 @@ func (s *testEvaluatorSuite) TestDate(c *C) { } func (s *testEvaluatorSuite) TestClock(c *C) { + defer testleak.AfterTest(c)() // test hour, minute, second, micro second tbl := []struct { @@ -244,6 +247,7 @@ func (s *testEvaluatorSuite) TestClock(c *C) { } func (s *testEvaluatorSuite) TestNow(c *C) { + defer testleak.AfterTest(c)() v, err := builtinNow(nil, nil) c.Assert(err, IsNil) t := v.GetMysqlTime() @@ -264,6 +268,7 @@ func (s *testEvaluatorSuite) TestNow(c *C) { } func (s *testEvaluatorSuite) TestSysDate(c *C) { + defer testleak.AfterTest(c)() last := time.Now() v, err := builtinSysDate(types.MakeDatums(nil), nil) c.Assert(err, IsNil) @@ -280,6 +285,7 @@ func (s *testEvaluatorSuite) TestSysDate(c *C) { } func (s *testEvaluatorSuite) TestCurrentDate(c *C) { + defer testleak.AfterTest(c)() last := time.Now() v, err := builtinCurrentDate(types.MakeDatums(nil), nil) c.Assert(err, IsNil) @@ -288,6 +294,7 @@ func (s *testEvaluatorSuite) TestCurrentDate(c *C) { } func (s *testEvaluatorSuite) TestCurrentTime(c *C) { + defer testleak.AfterTest(c)() tfStr := "15:04:05" last := time.Now() @@ -317,6 +324,7 @@ func (s *testEvaluatorSuite) TestCurrentTime(c *C) { } func (s *testEvaluatorSuite) TestUTCDate(c *C) { + defer testleak.AfterTest(c)() last := time.Now().UTC() v, err := builtinUTCDate(types.MakeDatums(nil), nil) c.Assert(err, IsNil) @@ -325,6 +333,7 @@ func (s *testEvaluatorSuite) TestUTCDate(c *C) { } func (s *testEvaluatorSuite) TestDateArith(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() // list all test cases diff --git a/evaluator/evaluator_test.go b/evaluator/evaluator_test.go index c4a4467315..123dfb9bbc 100644 --- a/evaluator/evaluator_test.go +++ b/evaluator/evaluator_test.go @@ -27,6 +27,7 @@ import ( "github.com/pingcap/tidb/sessionctx/variable" "github.com/pingcap/tidb/util/charset" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -63,6 +64,7 @@ func (s *testEvaluatorSuite) runTests(c *C, cases []testCase) { } func (s *testEvaluatorSuite) TestBetween(c *C) { + defer testleak.AfterTest(c)() cases := []testCase{ {exprStr: "1 between 2 and 3", resultStr: "0"}, {exprStr: "1 not between 2 and 3", resultStr: "1"}, @@ -71,6 +73,7 @@ func (s *testEvaluatorSuite) TestBetween(c *C) { } func (s *testEvaluatorSuite) TestBinopComparison(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() tbl := []struct { lhs interface{} @@ -145,6 +148,7 @@ func (s *testEvaluatorSuite) TestBinopComparison(c *C) { } func (s *testEvaluatorSuite) TestBinopLogic(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() tbl := []struct { lhs interface{} @@ -182,6 +186,7 @@ func (s *testEvaluatorSuite) TestBinopLogic(c *C) { } func (s *testEvaluatorSuite) TestBinopBitop(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() tbl := []struct { lhs interface{} @@ -217,6 +222,7 @@ func (s *testEvaluatorSuite) TestBinopBitop(c *C) { } func (s *testEvaluatorSuite) TestBinopNumeric(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() tbl := []struct { lhs interface{} @@ -315,6 +321,7 @@ func (s *testEvaluatorSuite) TestBinopNumeric(c *C) { } func (s *testEvaluatorSuite) TestCaseWhen(c *C) { + defer testleak.AfterTest(c)() cases := []testCase{ { exprStr: "case 1 when 1 then 'str1' when 2 then 'str2' end", @@ -353,6 +360,7 @@ func (s *testEvaluatorSuite) TestCaseWhen(c *C) { } func (s *testEvaluatorSuite) TestCall(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() // Test case for correct number of arguments @@ -403,6 +411,7 @@ func (s *testEvaluatorSuite) TestCall(c *C) { } func (s *testEvaluatorSuite) TestCast(c *C) { + defer testleak.AfterTest(c)() f := types.NewFieldType(mysql.TypeLonglong) expr := &ast.FuncCastExpr{ @@ -438,6 +447,7 @@ func (s *testEvaluatorSuite) TestCast(c *C) { } func (s *testEvaluatorSuite) TestExtract(c *C) { + defer testleak.AfterTest(c)() str := "2011-11-11 10:10:10.123456" tbl := []struct { Unit string @@ -487,6 +497,7 @@ func (s *testEvaluatorSuite) TestExtract(c *C) { } func (s *testEvaluatorSuite) TestPatternIn(c *C) { + defer testleak.AfterTest(c)() cases := []testCase{ { exprStr: "1 not in (1, 2, 3)", @@ -533,6 +544,7 @@ func (s *testEvaluatorSuite) TestPatternIn(c *C) { } func (s *testEvaluatorSuite) TestIsNull(c *C) { + defer testleak.AfterTest(c)() cases := []testCase{ { exprStr: "1 IS NULL", @@ -555,6 +567,7 @@ func (s *testEvaluatorSuite) TestIsNull(c *C) { } func (s *testEvaluatorSuite) TestIsTruth(c *C) { + defer testleak.AfterTest(c)() cases := []testCase{ { exprStr: "1 IS TRUE", @@ -625,6 +638,7 @@ func (s *testEvaluatorSuite) TestIsTruth(c *C) { } func (s *testEvaluatorSuite) TestLike(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { pattern string input string @@ -695,6 +709,7 @@ func (s *testEvaluatorSuite) TestLike(c *C) { } func (s *testEvaluatorSuite) TestRegexp(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { pattern string input string @@ -723,6 +738,7 @@ func (s *testEvaluatorSuite) TestRegexp(c *C) { } func (s *testEvaluatorSuite) TestUnaryOp(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { arg interface{} op opcode.Op @@ -809,6 +825,7 @@ func (s *testEvaluatorSuite) TestUnaryOp(c *C) { } func (s *testEvaluatorSuite) TestColumnNameExpr(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() value1 := ast.NewValueExpr(1) rf := &ast.ResultField{Expr: value1} @@ -826,6 +843,7 @@ func (s *testEvaluatorSuite) TestColumnNameExpr(c *C) { } func (s *testEvaluatorSuite) TestAggFuncAvg(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() avg := &ast.AggregateFuncExpr{ F: ast.AggFuncAvg, @@ -850,6 +868,7 @@ func (s *testEvaluatorSuite) TestAggFuncAvg(c *C) { } func (s *testEvaluatorSuite) TestGetTimeValue(c *C) { + defer testleak.AfterTest(c)() v, err := GetTimeValue(nil, "2012-12-12 00:00:00", mysql.TypeTimestamp, mysql.MinFsp) c.Assert(err, IsNil) @@ -931,6 +950,7 @@ func (s *testEvaluatorSuite) TestGetTimeValue(c *C) { } func (s *testEvaluatorSuite) TestIsCurrentTimeExpr(c *C) { + defer testleak.AfterTest(c)() v := IsCurrentTimeExpr(ast.NewValueExpr("abc")) c.Assert(v, IsFalse) diff --git a/executor/aggregate_test.go b/executor/aggregate_test.go index 62523762e5..47ad53500f 100644 --- a/executor/aggregate_test.go +++ b/executor/aggregate_test.go @@ -18,6 +18,7 @@ import ( "github.com/pingcap/tidb/ast" "github.com/pingcap/tidb/evaluator" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -59,6 +60,7 @@ func (m *mockExec) Close() error { } func (s *testAggFuncSuite) TestCount(c *C) { + defer testleak.AfterTest(c)() // Compose aggregate exec for "select c1, count(c2) from t"; // c1 c2 // 1 1 diff --git a/executor/executor_ddl_test.go b/executor/executor_ddl_test.go index 36a353dca9..8c4ee2f729 100644 --- a/executor/executor_ddl_test.go +++ b/executor/executor_ddl_test.go @@ -18,9 +18,11 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" ) func (s *testSuite) TestTruncateTable(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec(`drop table if exists truncate_test;`) @@ -34,6 +36,7 @@ func (s *testSuite) TestTruncateTable(c *C) { } func (s *testSuite) TestCreateTable(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") // Test create an exist database @@ -103,6 +106,7 @@ func (s *testSuite) TestCreateTable(c *C) { } func (s *testSuite) TestCreateDropDatabase(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("create database if not exists drop_test;") tk.MustExec("drop database if exists drop_test;") @@ -111,6 +115,7 @@ func (s *testSuite) TestCreateDropDatabase(c *C) { } func (s *testSuite) TestCreateDropTable(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("create table if not exists drop_test (a int)") @@ -120,6 +125,7 @@ func (s *testSuite) TestCreateDropTable(c *C) { } func (s *testSuite) TestCreateDropIndex(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("create table if not exists drop_test (a int)") @@ -129,6 +135,7 @@ func (s *testSuite) TestCreateDropIndex(c *C) { } func (s *testSuite) TestAlterTable(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("create table if not exists alter_test (c1 int)") diff --git a/executor/executor_simple_test.go b/executor/executor_simple_test.go index e5ef933ce1..98a860dc45 100644 --- a/executor/executor_simple_test.go +++ b/executor/executor_simple_test.go @@ -22,9 +22,11 @@ import ( "github.com/pingcap/tidb/sessionctx/variable" "github.com/pingcap/tidb/util" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" ) func (s *testSuite) TestCharsetDatabase(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) testSQL := `create database if not exists cd_test_utf8 CHARACTER SET utf8 COLLATE utf8_bin;` tk.MustExec(testSQL) @@ -44,6 +46,7 @@ func (s *testSuite) TestCharsetDatabase(c *C) { } func (s *testSuite) TestSetVar(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) testSQL := "SET @a = 1;" tk.MustExec(testSQL) @@ -99,6 +102,7 @@ func (s *testSuite) TestSetVar(c *C) { } func (s *testSuite) TestSetCharset(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec(`SET NAMES latin1`) @@ -115,11 +119,13 @@ func (s *testSuite) TestSetCharset(c *C) { } func (s *testSuite) TestDo(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("do 1, 2") } func (s *testSuite) TestTransaction(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("begin") ctx := tk.Se.(context.Context) @@ -137,6 +143,7 @@ func inTxn(ctx context.Context) bool { } func (s *testSuite) TestCreateUser(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) // Make sure user test not in mysql.User. result := tk.MustQuery(`SELECT Password FROM mysql.User WHERE User="test" and Host="localhost"`) @@ -159,6 +166,7 @@ func (s *testSuite) TestCreateUser(c *C) { } func (s *testSuite) TestSetPwd(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) createUserSQL := `CREATE USER 'testpwd'@'localhost' IDENTIFIED BY '';` tk.MustExec(createUserSQL) diff --git a/executor/executor_test.go b/executor/executor_test.go index 058617b678..d764b7cddf 100644 --- a/executor/executor_test.go +++ b/executor/executor_test.go @@ -27,6 +27,7 @@ import ( "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -51,6 +52,7 @@ func (s *testSuite) TearDownSuite(c *C) { } func (s *testSuite) TestAdmin(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists admin_test") @@ -107,6 +109,7 @@ func (s *testSuite) TestAdmin(c *C) { } func (s *testSuite) TestPrepared(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists prepare_test") @@ -175,6 +178,7 @@ func (s *testSuite) fillData(tk *testkit.TestKit, table string) { } func (s *testSuite) TestDelete(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) s.fillData(tk, "delete_test") @@ -221,6 +225,7 @@ func (s *testSuite) fillDataMultiTable(tk *testkit.TestKit) { } func (s *testSuite) TestMultiTableDelete(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) s.fillDataMultiTable(tk) @@ -233,6 +238,7 @@ func (s *testSuite) TestMultiTableDelete(c *C) { } func (s *testSuite) TestQualifedDelete(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists t1") @@ -271,6 +277,7 @@ func (s *testSuite) TestQualifedDelete(c *C) { } func (s *testSuite) TestInsert(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") testSQL := `drop table if exists insert_test;create table insert_test (id int PRIMARY KEY AUTO_INCREMENT, c1 int, c2 int, c3 int default 1);` @@ -344,6 +351,7 @@ func (s *testSuite) TestInsert(c *C) { } func (s *testSuite) TestInsertAutoInc(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") createSQL := `drop table if exists insert_autoinc_test; create table insert_autoinc_test (id int primary key auto_increment, c1 int);` @@ -427,6 +435,7 @@ func (s *testSuite) TestInsertAutoInc(c *C) { } func (s *testSuite) TestReplace(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") testSQL := `drop table if exists replace_test; @@ -548,6 +557,7 @@ func (s *testSuite) TestReplace(c *C) { } func (s *testSuite) TestSelectWithoutFrom(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") @@ -563,6 +573,7 @@ func (s *testSuite) TestSelectWithoutFrom(c *C) { } func (s *testSuite) TestSelectOrderBy(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") s.fillData(tk, "select_order_test") @@ -585,6 +596,7 @@ func (s *testSuite) TestSelectOrderBy(c *C) { } func (s *testSuite) TestSelectDistinct(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") s.fillData(tk, "select_distinct_test") @@ -599,6 +611,7 @@ func (s *testSuite) TestSelectDistinct(c *C) { } func (s *testSuite) TestSelectHaving(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") s.fillData(tk, "select_having_test") @@ -613,6 +626,7 @@ func (s *testSuite) TestSelectHaving(c *C) { } func (s *testSuite) TestSelectErrorRow(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") @@ -645,6 +659,7 @@ func (s *testSuite) TestSelectErrorRow(c *C) { } func (s *testSuite) TestUpdate(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") s.fillData(tk, "update_test") @@ -706,6 +721,7 @@ func (s *testSuite) fillMultiTableForUpdate(tk *testkit.TestKit) { } func (s *testSuite) TestMultipleTableUpdate(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") s.fillMultiTableForUpdate(tk) @@ -742,6 +758,7 @@ func (s *testSuite) TestMultipleTableUpdate(c *C) { // For https://github.com/pingcap/tidb/issues/345 func (s *testSuite) TestIssue345(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec(`drop table if exists t1, t2`) @@ -782,6 +799,7 @@ func (s *testSuite) TestIssue345(c *C) { } func (s *testSuite) TestMultiUpdate(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") // fix https://github.com/pingcap/tidb/issues/369 @@ -808,6 +826,7 @@ func (s *testSuite) TestMultiUpdate(c *C) { } func (s *testSuite) TestUnion(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") @@ -858,6 +877,7 @@ func (s *testSuite) TestUnion(c *C) { } func (s *testSuite) TestTablePKisHandleScan(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists t") @@ -920,6 +940,7 @@ func (s *testSuite) TestTablePKisHandleScan(c *C) { } func (s *testSuite) TestJoin(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists t") @@ -945,6 +966,7 @@ func (s *testSuite) TestJoin(c *C) { } func (s *testSuite) TestIndexScan(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists t") diff --git a/executor/explain_test.go b/executor/explain_test.go index 03f1e7062c..4e43c41c9f 100644 --- a/executor/explain_test.go +++ b/executor/explain_test.go @@ -16,9 +16,11 @@ package executor_test import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" ) func (s *testSuite) TestExplain(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") tk.MustExec("drop table if exists t1, t2") diff --git a/executor/grant_test.go b/executor/grant_test.go index 47be31adb2..587f4e4744 100644 --- a/executor/grant_test.go +++ b/executor/grant_test.go @@ -20,9 +20,11 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" ) func (s *testSuite) TestGrantGlobal(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) // Create a new user. createUserSQL := `CREATE USER 'testGlobal'@'localhost' IDENTIFIED BY '123';` @@ -54,6 +56,7 @@ func (s *testSuite) TestGrantGlobal(c *C) { } func (s *testSuite) TestGrantDBScope(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) // Create a new user. createUserSQL := `CREATE USER 'testDB'@'localhost' IDENTIFIED BY '123';` @@ -83,6 +86,7 @@ func (s *testSuite) TestGrantDBScope(c *C) { } func (s *testSuite) TestTableScope(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) // Create a new user. createUserSQL := `CREATE USER 'testTbl'@'localhost' IDENTIFIED BY '123';` @@ -121,6 +125,7 @@ func (s *testSuite) TestTableScope(c *C) { } func (s *testSuite) TestColumnScope(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) // Create a new user. createUserSQL := `CREATE USER 'testCol'@'localhost' IDENTIFIED BY '123';` diff --git a/executor/show_test.go b/executor/show_test.go index f19e7cf699..8bd4b38d04 100644 --- a/executor/show_test.go +++ b/executor/show_test.go @@ -16,9 +16,11 @@ package executor_test import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" ) func (s *testSuite) TestShow(c *C) { + defer testleak.AfterTest(c)() tk := testkit.NewTestKit(c, s.store) tk.MustExec("use test") testSQL := `drop table if exists show_test` diff --git a/inspectkv/inspectkv_test.go b/inspectkv/inspectkv_test.go index 00d7628a95..c23e07525e 100644 --- a/inspectkv/inspectkv_test.go +++ b/inspectkv/inspectkv_test.go @@ -30,6 +30,7 @@ import ( "github.com/pingcap/tidb/table" "github.com/pingcap/tidb/table/tables" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -125,6 +126,7 @@ func (s *testSuite) TearDownSuite(c *C) { } func (s *testSuite) TestGetDDLInfo(c *C) { + defer testleak.AfterTest(c)() txn, err := s.store.Begin() c.Assert(err, IsNil) t := meta.NewMeta(txn) @@ -153,6 +155,7 @@ func (s *testSuite) TestGetDDLInfo(c *C) { } func (s *testSuite) TestGetBgDDLInfo(c *C) { + defer testleak.AfterTest(c)() txn, err := s.store.Begin() c.Assert(err, IsNil) t := meta.NewMeta(txn) @@ -176,6 +179,7 @@ func (s *testSuite) TestGetBgDDLInfo(c *C) { } func (s *testSuite) TestScan(c *C) { + defer testleak.AfterTest(c)() alloc := autoid.NewAllocator(s.store, s.dbInfo.ID) tb, err := tables.TableFromMeta(alloc, s.tbInfo) c.Assert(err, IsNil) diff --git a/kv/index_iter_test.go b/kv/index_iter_test.go index 20d9b4deb9..1140ed1f6e 100644 --- a/kv/index_iter_test.go +++ b/kv/index_iter_test.go @@ -22,6 +22,7 @@ import ( "github.com/pingcap/tidb/store/localstore" "github.com/pingcap/tidb/store/localstore/goleveldb" "github.com/pingcap/tidb/terror" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -49,6 +50,7 @@ func (s *testIndexSuite) TearDownSuite(c *C) { } func (s *testIndexSuite) TestIndex(c *C) { + defer testleak.AfterTest(c)() index := kv.NewKVIndex([]byte("i"), "test", 0, false) // Test ununiq index. @@ -146,6 +148,7 @@ func (s *testIndexSuite) TestIndex(c *C) { } func (s *testIndexSuite) TestCombineIndexSeek(c *C) { + defer testleak.AfterTest(c)() index := kv.NewKVIndex([]byte("i"), "test", 1, false) txn, err := s.s.Begin() diff --git a/kv/key_test.go b/kv/key_test.go index 2110f11710..215f3d542a 100644 --- a/kv/key_test.go +++ b/kv/key_test.go @@ -15,8 +15,10 @@ package kv import ( "bytes" + . "github.com/pingcap/check" "github.com/pingcap/tidb/util/codec" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -26,6 +28,7 @@ type testKeySuite struct { } func (s *testKeySuite) TestPartialNext(c *C) { + defer testleak.AfterTest(c)() // keyA represents a multi column index. keyA, err := codec.EncodeValue(nil, types.NewDatum("abc"), types.NewDatum("def")) c.Check(err, IsNil) diff --git a/kv/mem_buffer_test.go b/kv/mem_buffer_test.go index 1b45a1e813..c7c9579703 100644 --- a/kv/mem_buffer_test.go +++ b/kv/mem_buffer_test.go @@ -21,6 +21,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) const ( @@ -137,6 +138,7 @@ func mustGet(c *C, buffer MemBuffer) { } func (s *testKVSuite) TestGetSet(c *C) { + defer testleak.AfterTest(c)() for _, buffer := range s.bs { insertData(c, buffer) mustGet(c, buffer) @@ -145,6 +147,7 @@ func (s *testKVSuite) TestGetSet(c *C) { } func (s *testKVSuite) TestNewIterator(c *C) { + defer testleak.AfterTest(c)() for _, buffer := range s.bs { // should be invalid iter, err := buffer.Seek(nil) @@ -158,6 +161,7 @@ func (s *testKVSuite) TestNewIterator(c *C) { } func (s *testKVSuite) TestBasicNewIterator(c *C) { + defer testleak.AfterTest(c)() for _, buffer := range s.bs { it, err := buffer.Seek([]byte("2")) c.Assert(err, IsNil) @@ -167,6 +171,7 @@ func (s *testKVSuite) TestBasicNewIterator(c *C) { } func (s *testKVSuite) TestNewIteratorMin(c *C) { + defer testleak.AfterTest(c)() kvs := []struct { key string value string diff --git a/kv/txn_test.go b/kv/txn_test.go index 78f26ffb70..267a76079e 100644 --- a/kv/txn_test.go +++ b/kv/txn_test.go @@ -17,6 +17,7 @@ import ( "time" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testTxnSuite{}) @@ -31,6 +32,7 @@ func (s *testTxnSuite) TearDownTest(c *C) { } func (s *testTxnSuite) TestBackOff(c *C) { + defer testleak.AfterTest(c)() mustBackOff(c, 1, 2) mustBackOff(c, 2, 4) mustBackOff(c, 3, 8) @@ -121,6 +123,7 @@ func (s *mockStorage) CurrentVersion() (Version, error) { } func (s *testTxnSuite) TestRetryExceedCountError(c *C) { + defer testleak.AfterTest(c)() maxRetryCnt = 5 err := RunInNewTxn(&mockStorage{}, true, func(txn Transaction) error { return nil diff --git a/kv/union_store_test.go b/kv/union_store_test.go index 9e08db414f..0c1125d61e 100644 --- a/kv/union_store_test.go +++ b/kv/union_store_test.go @@ -17,6 +17,7 @@ import ( "github.com/juju/errors" . "github.com/pingcap/check" "github.com/pingcap/tidb/terror" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testUnionStoreSuite{}) @@ -36,6 +37,7 @@ func (s *testUnionStoreSuite) TearDownTest(c *C) { } func (s *testUnionStoreSuite) TestGetSet(c *C) { + defer testleak.AfterTest(c)() s.store.Set([]byte("1"), []byte("1")) v, err := s.us.Get([]byte("1")) c.Assert(err, IsNil) @@ -47,6 +49,7 @@ func (s *testUnionStoreSuite) TestGetSet(c *C) { } func (s *testUnionStoreSuite) TestDelete(c *C) { + defer testleak.AfterTest(c)() s.store.Set([]byte("1"), []byte("1")) err := s.us.Delete([]byte("1")) c.Assert(err, IsNil) @@ -60,6 +63,7 @@ func (s *testUnionStoreSuite) TestDelete(c *C) { } func (s *testUnionStoreSuite) TestSeek(c *C) { + defer testleak.AfterTest(c)() s.store.Set([]byte("1"), []byte("1")) s.store.Set([]byte("2"), []byte("2")) s.store.Set([]byte("3"), []byte("3")) @@ -84,6 +88,7 @@ func (s *testUnionStoreSuite) TestSeek(c *C) { } func (s *testUnionStoreSuite) TestLazyConditionCheck(c *C) { + defer testleak.AfterTest(c)() s.store.Set([]byte("1"), []byte("1")) s.store.Set([]byte("2"), []byte("2")) diff --git a/meta/meta_test.go b/meta/meta_test.go index c8e341115f..38a37c36f9 100644 --- a/meta/meta_test.go +++ b/meta/meta_test.go @@ -21,6 +21,7 @@ import ( "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/store/localstore" "github.com/pingcap/tidb/store/localstore/goleveldb" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -33,6 +34,7 @@ type testSuite struct { } func (s *testSuite) TestMeta(c *C) { + defer testleak.AfterTest(c)() driver := localstore.Driver{Driver: goleveldb.MemoryDriver{}} store, err := driver.Open("memory") c.Assert(err, IsNil) @@ -162,6 +164,7 @@ func (s *testSuite) TestMeta(c *C) { } func (s *testSuite) TestDDL(c *C) { + defer testleak.AfterTest(c)() driver := localstore.Driver{Driver: goleveldb.MemoryDriver{}} store, err := driver.Open("memory") c.Assert(err, IsNil) diff --git a/mysql/bit_test.go b/mysql/bit_test.go index 49652206df..24e5a25b7c 100644 --- a/mysql/bit_test.go +++ b/mysql/bit_test.go @@ -13,7 +13,10 @@ package mysql -import . "github.com/pingcap/check" +import ( + . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" +) var _ = Suite(&testBitSuite{}) @@ -21,6 +24,7 @@ type testBitSuite struct { } func (s *testBitSuite) TestBit(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input string Width int diff --git a/mysql/enum_test.go b/mysql/enum_test.go index 154ac73802..1bda4fa817 100644 --- a/mysql/enum_test.go +++ b/mysql/enum_test.go @@ -15,6 +15,7 @@ package mysql import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testEnumSuite{}) @@ -23,6 +24,7 @@ type testEnumSuite struct { } func (s *testEnumSuite) TestEnum(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Elems []string Name string diff --git a/mysql/error_test.go b/mysql/error_test.go index a57c548353..6fa29461b5 100644 --- a/mysql/error_test.go +++ b/mysql/error_test.go @@ -15,6 +15,7 @@ package mysql import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testSQLErrorSuite{}) @@ -23,6 +24,7 @@ type testSQLErrorSuite struct { } func (s *testSQLErrorSuite) TestSQLError(c *C) { + defer testleak.AfterTest(c)() e := NewErrf(ErrNoDB, "no db error") c.Assert(len(e.Error()), Greater, 0) diff --git a/mysql/hex_test.go b/mysql/hex_test.go index 551e245b64..edac4de246 100644 --- a/mysql/hex_test.go +++ b/mysql/hex_test.go @@ -17,6 +17,7 @@ import ( "strconv" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testHexSuite{}) @@ -25,6 +26,7 @@ type testHexSuite struct { } func (s *testHexSuite) TestHex(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input string Expect int64 diff --git a/mysql/set_test.go b/mysql/set_test.go index 69887db4b6..1828fcc0cb 100644 --- a/mysql/set_test.go +++ b/mysql/set_test.go @@ -15,6 +15,7 @@ package mysql import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testSetSuite{}) @@ -23,6 +24,7 @@ type testSetSuite struct { } func (s *testSetSuite) TestSet(c *C) { + defer testleak.AfterTest(c)() elems := []string{"a", "b", "c", "d"} tbl := []struct { Name string diff --git a/mysql/time_test.go b/mysql/time_test.go index e9bb992b75..d69272c3c3 100644 --- a/mysql/time_test.go +++ b/mysql/time_test.go @@ -18,6 +18,7 @@ import ( "time" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -30,6 +31,7 @@ type testTimeSuite struct { } func (s *testTimeSuite) TestDateTime(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input string Expect string @@ -87,6 +89,7 @@ func (s *testTimeSuite) TestDateTime(c *C) { } func (s *testTimeSuite) TestTimestamp(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input string Expect string @@ -112,6 +115,7 @@ func (s *testTimeSuite) TestTimestamp(c *C) { } func (s *testTimeSuite) TestDate(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input string Expect string @@ -142,6 +146,7 @@ func (s *testTimeSuite) TestDate(c *C) { } func (s *testTimeSuite) TestTime(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input string Expect string @@ -219,6 +224,7 @@ func (s *testTimeSuite) TestTime(c *C) { } func (s *testTimeSuite) TestTimeFsp(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input string Fsp int @@ -252,6 +258,7 @@ func (s *testTimeSuite) TestTimeFsp(c *C) { } } func (s *testTimeSuite) TestYear(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input string Expect int16 @@ -310,6 +317,7 @@ func (s *testTimeSuite) getLocation(c *C) *time.Location { } func (s *testTimeSuite) TestCodec(c *C) { + defer testleak.AfterTest(c)() t, err := ParseTimestamp("2010-10-10 10:11:11") c.Assert(err, IsNil) b, err := t.Marshal() @@ -382,6 +390,7 @@ func (s *testTimeSuite) TestCodec(c *C) { } func (s *testTimeSuite) TestParseTimeFromNum(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input int64 ExpectDateTimeError bool @@ -452,6 +461,7 @@ func (s *testTimeSuite) TestParseTimeFromNum(c *C) { } func (s *testTimeSuite) TestToNumber(c *C) { + defer testleak.AfterTest(c)() tblDateTime := []struct { Input string Fsp int @@ -523,6 +533,7 @@ func (s *testTimeSuite) TestToNumber(c *C) { } func (s *testTimeSuite) TestParseFrac(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { S string Fsp int @@ -544,6 +555,7 @@ func (s *testTimeSuite) TestParseFrac(c *C) { } func (s *testTimeSuite) TestRoundFrac(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input string Fsp int @@ -588,6 +600,7 @@ func (s *testTimeSuite) TestRoundFrac(c *C) { } func (s *testTimeSuite) TestConvert(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input string Fsp int @@ -630,6 +643,7 @@ func (s *testTimeSuite) TestConvert(c *C) { } func (s *testTimeSuite) TestCompare(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Arg1 string Arg2 string @@ -672,6 +686,7 @@ func (s *testTimeSuite) TestCompare(c *C) { } func (s *testTimeSuite) TestDurationClock(c *C) { + defer testleak.AfterTest(c)() // test hour, minute, second and micro second tbl := []struct { Input string @@ -696,6 +711,7 @@ func (s *testTimeSuite) TestDurationClock(c *C) { } func (s *testTimeSuite) TestParseDateFormat(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input string Result []string diff --git a/mysql/type_test.go b/mysql/type_test.go index 53d6fe646b..270a2c63e0 100644 --- a/mysql/type_test.go +++ b/mysql/type_test.go @@ -13,13 +13,17 @@ package mysql -import . "github.com/pingcap/check" +import ( + . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" +) var _ = Suite(&testTypeSuite{}) type testTypeSuite struct{} func (s *testTypeSuite) TestFlags(c *C) { + defer testleak.AfterTest(c)() c.Assert(HasNotNullFlag(NotNullFlag), IsTrue) c.Assert(HasUniKeyFlag(UniqueKeyFlag), IsTrue) c.Assert(HasNotNullFlag(NotNullFlag), IsTrue) diff --git a/optimizer/plan/plan_test.go b/optimizer/plan/plan_test.go index 059cf53d1f..8147e04fa6 100644 --- a/optimizer/plan/plan_test.go +++ b/optimizer/plan/plan_test.go @@ -22,6 +22,7 @@ import ( "github.com/pingcap/tidb/model" "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/parser" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testPlanSuite{}) @@ -33,6 +34,7 @@ func TestT(t *testing.T) { type testPlanSuite struct{} func (s *testPlanSuite) TestRangeBuilder(c *C) { + defer testleak.AfterTest(c)() rb := &rangeBuilder{} cases := []struct { @@ -206,6 +208,7 @@ func (s *testPlanSuite) TestRangeBuilder(c *C) { } func (s *testPlanSuite) TestFilterRate(c *C) { + defer testleak.AfterTest(c)() cases := []struct { expr string rate float64 @@ -238,6 +241,7 @@ func (s *testPlanSuite) TestFilterRate(c *C) { } func (s *testPlanSuite) TestBestPlan(c *C) { + defer testleak.AfterTest(c)() cases := []struct { sql string best string @@ -323,6 +327,7 @@ func (s *testPlanSuite) TestBestPlan(c *C) { } func (s *testPlanSuite) TestSplitWhere(c *C) { + defer testleak.AfterTest(c)() cases := []struct { expr string count int @@ -345,6 +350,7 @@ func (s *testPlanSuite) TestSplitWhere(c *C) { } func (s *testPlanSuite) TestNullRejectFinder(c *C) { + defer testleak.AfterTest(c)() cases := []struct { expr string notNull bool @@ -512,6 +518,7 @@ func (b *mockJoinResolver) Leave(in ast.Node) (ast.Node, bool) { } func (s *testPlanSuite) TestJoinPath(c *C) { + defer testleak.AfterTest(c)() cases := []struct { sql string explain string @@ -605,6 +612,7 @@ func (s *testPlanSuite) TestJoinPath(c *C) { } func (s *testPlanSuite) TestMultiColumnIndex(c *C) { + defer testleak.AfterTest(c)() cases := []struct { sql string accessEqualCount int @@ -633,6 +641,7 @@ func (s *testPlanSuite) TestMultiColumnIndex(c *C) { } func (s *testPlanSuite) TestVisitCount(c *C) { + defer testleak.AfterTest(c)() sqls := []string{ "select t1.c1, t2.c2 from t1, t2", "select * from t1 left join t2 on t1.c1 = t2.c1", diff --git a/optimizer/typeinferer_test.go b/optimizer/typeinferer_test.go index 5c5bcaa4ba..1b5313dbdd 100644 --- a/optimizer/typeinferer_test.go +++ b/optimizer/typeinferer_test.go @@ -24,6 +24,7 @@ import ( "github.com/pingcap/tidb/sessionctx" "github.com/pingcap/tidb/util/charset" "github.com/pingcap/tidb/util/testkit" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testTypeInferrerSuite{}) @@ -145,6 +146,7 @@ func (ts *testTypeInferrerSuite) TestInferType(c *C) { } func (s *testTypeInferrerSuite) TestColumnInfoModified(c *C) { + defer testleak.AfterTest(c)() store, err := tidb.NewStore(tidb.EngineGoLevelDBMemory) c.Assert(err, IsNil) defer store.Close() diff --git a/optimizer/validator_test.go b/optimizer/validator_test.go index 8c7f5e9bfb..731dc82d91 100644 --- a/optimizer/validator_test.go +++ b/optimizer/validator_test.go @@ -21,6 +21,7 @@ import ( "github.com/pingcap/tidb/optimizer" "github.com/pingcap/tidb/parser" "github.com/pingcap/tidb/terror" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testValidatorSuite{}) @@ -29,6 +30,7 @@ type testValidatorSuite struct { } func (s *testValidatorSuite) TestValidator(c *C) { + defer testleak.AfterTest(c)() cases := []struct { sql string inPrepare bool @@ -52,6 +54,7 @@ func (s *testValidatorSuite) TestValidator(c *C) { } store, err := tidb.NewStore(tidb.EngineGoLevelDBMemory) c.Assert(err, IsNil) + defer store.Close() se, err := tidb.CreateSession(store) c.Assert(err, IsNil) for _, ca := range cases { diff --git a/parser/parser_test.go b/parser/parser_test.go index 0855e168d9..8d3ac7053f 100644 --- a/parser/parser_test.go +++ b/parser/parser_test.go @@ -19,6 +19,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/ast" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -31,6 +32,7 @@ type testParserSuite struct { } func (s *testParserSuite) TestSimple(c *C) { + defer testleak.AfterTest(c)() // Testcase for unreserved keywords unreservedKws := []string{ "auto_increment", "after", "begin", "bit", "bool", "boolean", "charset", "columns", "commit", @@ -126,6 +128,7 @@ func (s *testParserSuite) RunTest(c *C, table []testCase) { } } func (s *testParserSuite) TestDMLStmt(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ {"", true}, {";", true}, @@ -329,6 +332,7 @@ func (s *testParserSuite) TestDMLStmt(c *C) { } func (s *testParserSuite) TestExpression(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // Sign expression {"SELECT ++1", true}, @@ -353,6 +357,7 @@ func (s *testParserSuite) TestExpression(c *C) { } func (s *testParserSuite) TestBuiltin(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // For buildin functions {"SELECT POW(1, 2)", true}, @@ -584,6 +589,7 @@ func (s *testParserSuite) TestBuiltin(c *C) { } func (s *testParserSuite) TestIdentifier(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // For quote identifier {"select `a`, `a.b`, `a b` from t", true}, @@ -603,6 +609,7 @@ func (s *testParserSuite) TestIdentifier(c *C) { } func (s *testParserSuite) TestDDL(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ {"CREATE", false}, {"CREATE TABLE", false}, @@ -743,6 +750,7 @@ func (s *testParserSuite) TestDDL(c *C) { } func (s *testParserSuite) TestType(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // For time fsp {"CREATE TABLE t( c1 TIME(2), c2 DATETIME(2), c3 TIMESTAMP(2) );", true}, @@ -779,6 +787,7 @@ func (s *testParserSuite) TestType(c *C) { } func (s *testParserSuite) TestPrivilege(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // For create user {`CREATE USER IF NOT EXISTS 'root'@'localhost' IDENTIFIED BY 'new-password'`, true}, @@ -801,6 +810,7 @@ func (s *testParserSuite) TestPrivilege(c *C) { } func (s *testParserSuite) TestComment(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ {"create table t (c int comment 'comment')", true}, {"create table t (c int) comment = 'comment'", true}, @@ -813,6 +823,7 @@ func (s *testParserSuite) TestComment(c *C) { s.RunTest(c, table) } func (s *testParserSuite) TestSubquery(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // For compare subquery {"SELECT 1 > (select 1)", true}, @@ -832,6 +843,7 @@ func (s *testParserSuite) TestSubquery(c *C) { s.RunTest(c, table) } func (s *testParserSuite) TestUnion(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ {"select c1 from t1 union select c2 from t2", true}, {"select c1 from t1 union (select c2 from t2)", true}, @@ -854,6 +866,7 @@ func (s *testParserSuite) TestUnion(c *C) { } func (s *testParserSuite) TestLikeEscape(c *C) { + defer testleak.AfterTest(c)() table := []testCase{ // For like escape {`select "abc_" like "abc\\_" escape ''`, true}, @@ -866,6 +879,7 @@ func (s *testParserSuite) TestLikeEscape(c *C) { } func (s *testParserSuite) TestMysqlDump(c *C) { + defer testleak.AfterTest(c)() // Statements used by mysqldump. table := []testCase{ {`UNLOCK TABLES;`, true}, diff --git a/privilege/privileges/privileges_test.go b/privilege/privileges/privileges_test.go index d85a1048bd..5302a93466 100644 --- a/privilege/privileges/privileges_test.go +++ b/privilege/privileges/privileges_test.go @@ -26,6 +26,7 @@ import ( "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/privilege/privileges" "github.com/pingcap/tidb/sessionctx/variable" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/testutil" ) @@ -87,6 +88,7 @@ func (s *testPrivilegeSuite) TearDownTest(c *C) { } func (s *testPrivilegeSuite) TestCheckDBPrivilege(c *C) { + defer testleak.AfterTest(c)() se := newSession(c, s.store, s.dbName) mustExec(c, se, `CREATE USER 'test'@'localhost' identified by '123';`) pc := &privileges.UserPrivileges{} @@ -116,6 +118,7 @@ func (s *testPrivilegeSuite) TestCheckDBPrivilege(c *C) { } func (s *testPrivilegeSuite) TestCheckTablePrivilege(c *C) { + defer testleak.AfterTest(c)() se := newSession(c, s.store, s.dbName) mustExec(c, se, `CREATE USER 'test1'@'localhost' identified by '123';`) pc := &privileges.UserPrivileges{} @@ -157,6 +160,7 @@ func (s *testPrivilegeSuite) TestCheckTablePrivilege(c *C) { } func (s *testPrivilegeSuite) TestShowGrants(c *C) { + defer testleak.AfterTest(c)() se := newSession(c, s.store, s.dbName) ctx, _ := se.(context.Context) mustExec(c, se, `CREATE USER 'show'@'localhost' identified by '123';`) @@ -234,6 +238,7 @@ func (s *testPrivilegeSuite) TestShowGrants(c *C) { } func (s *testPrivilegeSuite) TestDropTablePriv(c *C) { + defer testleak.AfterTest(c)() se := newSession(c, s.store, s.dbName) ctx, _ := se.(context.Context) mustExec(c, se, `CREATE TABLE todrop(c int);`) diff --git a/session_test.go b/session_test.go index 2cbd02d96d..461f46e267 100644 --- a/session_test.go +++ b/session_test.go @@ -30,6 +30,7 @@ import ( "github.com/pingcap/tidb/sessionctx/autocommit" "github.com/pingcap/tidb/sessionctx/variable" "github.com/pingcap/tidb/terror" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testSessionSuite{}) @@ -63,6 +64,7 @@ func (s *testSessionSuite) TearDownSuite(c *C) { } func (s *testSessionSuite) TestPrepare(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) // create table @@ -80,9 +82,13 @@ func (s *testSessionSuite) TestPrepare(c *C) { err = se.DropPreparedStmt(id) c.Assert(err, IsNil) mustExecSQL(c, se, s.dropDBSQL) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestAffectedRows(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, s.dropTableSQL) @@ -128,18 +134,24 @@ func (s *testSessionSuite) TestAffectedRows(c *C) { c.Assert(int(se.AffectedRows()), Equals, 2) sessionExec(c, se, s.dropDBSQL) - + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestString(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) sessionExec(c, se, "select 1") // here to check the panic bug in String() when txn is nil after committed. c.Log(se.String()) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestResultField(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) // create table @@ -159,9 +171,13 @@ func (s *testSessionSuite) TestResultField(c *C) { c.Assert(field.Tp, Equals, mysql.TypeLonglong) c.Assert(field.Flen, Equals, 21) mustExecSQL(c, se, s.dropDBSQL) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestPrimaryKeyAutoincrement(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -194,9 +210,12 @@ func (s *testSessionSuite) TestPrimaryKeyAutoincrement(c *C) { match(c, row.Data, int8(1)) mustExecSQL(c, se, s.dropDBSQL) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestAutoincrementID(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -213,6 +232,9 @@ func (s *testSessionSuite) TestAutoincrementID(c *C) { c.Assert(se.LastInsertID(), Greater, lastID) mustExecSQL(c, se, "insert t () select 100") mustExecSQL(c, se, s.dropDBSQL) + + err := store.Close() + c.Assert(err, IsNil) } func checkTxn(c *C, se Session, stmt string, expect uint16) { @@ -231,6 +253,7 @@ func checkAutocommit(c *C, se Session, expect uint16) { // See: https://dev.mysql.com/doc/internals/en/status-flags.html func (s *testSessionSuite) TestAutocommit(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) checkTxn(c, se, "drop table if exists t;", 0) @@ -260,6 +283,8 @@ func (s *testSessionSuite) TestAutocommit(c *C) { checkAutocommit(c, se, 2) mustExecSQL(c, se, s.dropDBSQL) + err := store.Close() + c.Assert(err, IsNil) } func checkInTrans(c *C, se Session, stmt string, expect uint16) { @@ -270,6 +295,7 @@ func checkInTrans(c *C, se Session, stmt string, expect uint16) { // See: https://dev.mysql.com/doc/internals/en/status-flags.html func (s *testSessionSuite) TestInTrans(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) checkInTrans(c, se, "drop table if exists t;", 0) @@ -298,10 +324,13 @@ func (s *testSessionSuite) TestInTrans(c *C) { checkInTrans(c, se, "rollback", 0) mustExecSQL(c, se, s.dropDBSQL) + err := store.Close() + c.Assert(err, IsNil) } // See: http://dev.mysql.com/doc/refman/5.7/en/commit.html func (s *testSessionSuite) TestRowLock(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) se1 := newSession(c, store, s.dbName) @@ -341,9 +370,12 @@ func (s *testSessionSuite) TestRowLock(c *C) { mustExecSQL(c, se1, "commit") mustExecSQL(c, se, s.dropDBSQL) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue827(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) se1 := newSession(c, store, s.dbName) @@ -501,9 +533,12 @@ func (s *testSessionSuite) TestIssue827(c *C) { c.Assert(err, IsNil) err = se1.Close() c.Assert(err, IsNil) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue996(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -528,9 +563,13 @@ func (s *testSessionSuite) TestIssue996(c *C) { currLastInsertID := se.LastInsertID() c.Assert(r[0][0].GetValue(), DeepEquals, int64(currLastInsertID)) c.Assert(lastInsertID+2, Equals, currLastInsertID) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue986(c *C) { + defer testleak.AfterTest(c)() sqlText := `CREATE TABLE address ( id bigint(20) NOT NULL AUTO_INCREMENT, PRIMARY KEY (id));` @@ -540,8 +579,12 @@ func (s *testSessionSuite) TestIssue986(c *C) { sqlText = `insert into address values ('10')` mustExecSQL(c, se, sqlText) + err := store.Close() + c.Assert(err, IsNil) } + func (s *testSessionSuite) TestSelectForUpdate(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) se1 := newSession(c, store, s.dbName) @@ -600,9 +643,12 @@ func (s *testSessionSuite) TestSelectForUpdate(c *C) { c.Assert(err, IsNil) err = se2.Close() c.Assert(err, IsNil) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestRow(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -640,9 +686,13 @@ func (s *testSessionSuite) TestRow(c *C) { row, err = r.Next() c.Assert(err, IsNil) match(c, row.Data, 1) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIndex(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -671,9 +721,13 @@ func (s *testSessionSuite) TestIndex(c *C) { rows, err = GetRows(r) c.Assert(err, IsNil) matches(c, rows, [][]interface{}{{2, 2}}) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestMySQLTypes(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -688,9 +742,13 @@ func (s *testSessionSuite) TestMySQLTypes(c *C) { c.Assert(err, IsNil) match(c, row.Data, 2, 1) r.Close() + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestExpression(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -706,9 +764,12 @@ func (s *testSessionSuite) TestExpression(c *C) { match(c, row.Data, 1, 0, 1, 1) r.Close() + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestSelect(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -821,9 +882,12 @@ func (s *testSessionSuite) TestSelect(c *C) { match(c, row.Data, 3) mustExecSQL(c, se, `select * from t1, t2 where t1.c1 is null`) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestSubQuery(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -845,9 +909,13 @@ func (s *testSessionSuite) TestSubQuery(c *C) { match(c, rows[1], 2) mustExecMatch(c, se, "select a.c1, a.c2 from (select c1 as c1, c1 as c2 from t1) as a", [][]interface{}{{1, 1}, {2, 2}}) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestShow(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -897,9 +965,13 @@ func (s *testSessionSuite) TestShow(c *C) { row, err = r.Next() c.Assert(err, IsNil) c.Assert(row.Data, HasLen, 1) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestTimeFunc(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -920,9 +992,13 @@ func (s *testSessionSuite) TestTimeFunc(c *C) { n := t.GetMysqlTime() c.Assert(n.String(), GreaterEqual, last) } + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestBit(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -935,9 +1011,13 @@ func (s *testSessionSuite) TestBit(c *C) { row, err := r.Next() c.Assert(err, IsNil) c.Assert(row.Data[0].GetMysqlBit(), Equals, mysql.Bit{Value: 2, Width: 2}) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestBootstrap(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "USE mysql;") @@ -981,6 +1061,9 @@ func (s *testSessionSuite) TestBootstrap(c *C) { match(c, v.Data, 3) mustExecSQL(c, se, "drop table if exists t") se.Close() + + err = store.Close() + c.Assert(err, IsNil) } // Create a new session on store but only do ddl works. @@ -1007,6 +1090,7 @@ func (s *testSessionSuite) bootstrapWithError(store kv.Storage, c *C) { } func (s *testSessionSuite) TestBootstrapWithError(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbNameBootstrap) s.bootstrapWithError(store, c) se := newSession(c, store, s.dbNameBootstrap) @@ -1033,9 +1117,13 @@ func (s *testSessionSuite) TestBootstrapWithError(c *C) { c.Assert(row, NotNil) c.Assert(row.Data, HasLen, 1) c.Assert(row.Data[0].GetBytes(), BytesEquals, []byte("True")) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestEnum(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1059,9 +1147,13 @@ func (s *testSessionSuite) TestEnum(c *C) { row, err = r.Next() c.Assert(err, IsNil) match(c, row.Data, "2") + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestSet(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1090,9 +1182,13 @@ func (s *testSessionSuite) TestSet(c *C) { row, err = r.Next() c.Assert(err, IsNil) match(c, row.Data, "2") + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestDatabase(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1113,9 +1209,13 @@ func (s *testSessionSuite) TestDatabase(c *C) { mustExecSQL(c, se, "create schema xxx") mustExecSQL(c, se, "create schema if not exists xxx") mustExecSQL(c, se, "drop schema if exists xxx") + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestWhereLike(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1130,9 +1230,13 @@ func (s *testSessionSuite) TestWhereLike(c *C) { c.Assert(rows, HasLen, 6) mustExecSQL(c, se, "select c from t where c like binary('abc')") + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestDefaultFlenBug(c *C) { + defer testleak.AfterTest(c)() // If set unspecified column flen to 0, it will cause bug in union. // This test is used to prevent the bug reappear. store := newStore(c, s.dbName) @@ -1149,9 +1253,13 @@ func (s *testSessionSuite) TestDefaultFlenBug(c *C) { c.Assert(err, IsNil) c.Assert(rows, HasLen, 2) c.Assert(rows[1][0].GetFloat64(), Equals, float64(930)) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestExecRestrictedSQL(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName).(*session) r, err := se.ExecRestrictedSQL(se, "select 1;") @@ -1161,9 +1269,13 @@ func (s *testSessionSuite) TestExecRestrictedSQL(c *C) { c.Assert(err, NotNil) _, err = se.ExecRestrictedSQL(se, "") c.Assert(err, NotNil) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestGroupBy(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -1184,9 +1296,13 @@ func (s *testSessionSuite) TestGroupBy(c *C) { mustExecFailed(c, se, "select c1 as c2, c2 from t group by c2") mustExecFailed(c, se, "select sum(c1) as a from t group by a") mustExecFailed(c, se, "select sum(c1) as a from t group by a + 1") + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestOrderBy(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -1215,9 +1331,13 @@ func (s *testSessionSuite) TestOrderBy(c *C) { // Ordery by binary mustExecMatch(c, se, "select c1, c3 from t order by binary c1 desc", [][]interface{}{{2, []byte("bcd")}, {1, []byte("abc")}}) mustExecMatch(c, se, "select c1, c2 from t order by binary c3", [][]interface{}{{1, 2}, {2, 1}}) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestHaving(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -1252,9 +1372,13 @@ func (s *testSessionSuite) TestHaving(c *C) { mustExecFailed(c, se, "select c1 + 1 from t having c1 + 1") mustExecFailed(c, se, "select a.c1 as c, b.c1 as d from t as a, t as b having c1") mustExecFailed(c, se, "select 1 from t having sum(avg(c1))") + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestResultType(c *C) { + defer testleak.AfterTest(c)() // Testcase for https://github.com/pingcap/tidb/issues/325 store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1266,9 +1390,13 @@ func (s *testSessionSuite) TestResultType(c *C) { fs, err := rs.Fields() c.Assert(err, IsNil) c.Assert(fs[0].Column.FieldType.Tp, Equals, mysql.TypeString) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue461(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se1 := newSession(c, store, s.dbName) mustExecSQL(c, se1, @@ -1295,9 +1423,12 @@ func (s *testSessionSuite) TestIssue461(c *C) { se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table test;") + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue463(c *C) { + defer testleak.AfterTest(c)() // Testcase for https://github.com/pingcap/tidb/issues/463 store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1340,9 +1471,13 @@ func (s *testSessionSuite) TestIssue463(c *C) { mustExecFailed(c, se, "update test set val1 = 3, val2 = 2 where id = 1;") mustExecSQL(c, se, "insert into test(id, val1, val2) values(3, 3, 3);") mustExecSQL(c, se, "drop table test;") + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue177(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, `drop table if exists t1;`) @@ -1356,18 +1491,26 @@ func (s *testSessionSuite) TestIssue177(c *C) { mustExecSQL(c, se, `EXECUTE my_stmt;`) mustExecSQL(c, se, `deallocate prepare my_stmt;`) mustExecSQL(c, se, `drop table t1,t2;`) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestBuiltin(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) // Testcase for https://github.com/pingcap/tidb/issues/382 mustExecFailed(c, se, `select cast("xxx 10:10:10" as datetime)`) mustExecMatch(c, se, "select locate('bar', 'foobarbar')", [][]interface{}{{4}}) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestFieldText(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -1390,9 +1533,13 @@ func (s *testSessionSuite) TestFieldText(c *C) { c.Assert(err, IsNil) c.Assert(fields[0].ColumnAsName.O, Equals, v.field) } + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIndexPointLookup(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t") @@ -1404,9 +1551,13 @@ func (s *testSessionSuite) TestIndexPointLookup(c *C) { mustExecMatch(c, se, "select * from t where a = 3;", [][]interface{}{{3}}) mustExecMatch(c, se, "select * from t where a = 4;", [][]interface{}{}) mustExecSQL(c, se, "drop table t") + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue454(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1417,9 +1568,13 @@ func (s *testSessionSuite) TestIssue454(c *C) { mustExecSQL(c, se, "create table t (c1 int, c2 int, c3 int, primary key (c1));") mustExecSQL(c, se, "insert into t set c1=1, c2=4;") mustExecSQL(c, se, "insert into t select * from t1 limit 1 on duplicate key update c3=3333;") + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue456(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1430,10 +1585,14 @@ func (s *testSessionSuite) TestIssue456(c *C) { mustExecSQL(c, se, "create table t (c1 int, c2 int, c3 int, primary key (c1));") mustExecSQL(c, se, "replace into t set c1=1, c2=4;") mustExecSQL(c, se, "replace into t select * from t1 limit 1;") + + err := store.Close() + c.Assert(err, IsNil) } // For https://github.com/pingcap/tidb/issues/571 func (s *testSessionSuite) TestIssue571(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1479,9 +1638,13 @@ func (s *testSessionSuite) TestIssue571(c *C) { go f2() go f3() wg.Wait() + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue620(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) @@ -1495,9 +1658,13 @@ func (s *testSessionSuite) TestIssue620(c *C) { mustExecSQL(c, se, "insert into t3 values (2,2);") mustExecSQL(c, se, "insert into t1(c) select * from t2; insert into t1 select * from t3;") mustExecMatch(c, se, "select * from t1;", [][]interface{}{{1, 1}, {2, 2}}) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestRetryPreparedStmt(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) se1 := newSession(c, store, s.dbName) @@ -1522,32 +1689,48 @@ func (s *testSessionSuite) TestRetryPreparedStmt(c *C) { row, err := r.Next() c.Assert(err, IsNil) match(c, row.Data, 21) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIssue893(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t1; create table t1(id int ); insert into t1 values (1);") mustExecMatch(c, se, "select * from t1;", [][]interface{}{{1}}) + + err := store.Close() + c.Assert(err, IsNil) } // Testcase for session func (s *testSessionSuite) TestSession(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "ROLLBACK;") + err := se.Close() c.Assert(err, IsNil) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestSessionAuth(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) defer se.Close() c.Assert(se.Auth("Any not exist username with zero password! @anyhost", []byte(""), []byte("")), IsFalse) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestErrorRollback(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) s1 := newSession(c, store, s.dbName) @@ -1578,8 +1761,8 @@ func (s *testSessionSuite) TestErrorRollback(c *C) { se.Execute("insert into t_rollback values (1, 1)") - _, err := se.Execute("update t_rollback set c2 = c2 + 1 where c1 = 0") - c.Assert(err, IsNil) + _, err1 := se.Execute("update t_rollback set c2 = c2 + 1 where c1 = 0") + c.Assert(err1, IsNil) } }() } @@ -1587,9 +1770,13 @@ func (s *testSessionSuite) TestErrorRollback(c *C) { wg.Wait() mustExecMatch(c, s1, "select c2 from t_rollback where c1 = 0", [][]interface{}{{cnt * num}}) + + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestMultiColumnIndex(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t;") @@ -1623,18 +1810,25 @@ func (s *testSessionSuite) TestMultiColumnIndex(c *C) { err := se.Close() c.Assert(err, IsNil) + err = store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestSubstringIndexExpr(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "drop table if exists t;") mustExecSQL(c, se, "create table t (c varchar(128));") mustExecSQL(c, se, `insert into t values ("www.pingcap.com");`) mustExecMatch(c, se, "SELECT DISTINCT SUBSTRING_INDEX(c, '.', 2) from t;", [][]interface{}{{"www.pingcap"}}) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestIgnoreForeignKey(c *C) { + defer testleak.AfterTest(c)() sqlText := `CREATE TABLE address ( id bigint(20) NOT NULL AUTO_INCREMENT, user_id bigint(20) NOT NULL, @@ -1645,9 +1839,13 @@ func (s *testSessionSuite) TestIgnoreForeignKey(c *C) { store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, sqlText) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestJoinSubquery(c *C) { + defer testleak.AfterTest(c)() store := newStore(c, s.dbName) se := newSession(c, store, s.dbName) mustExecSQL(c, se, "CREATE TABLE table1 (id INTEGER key AUTO_INCREMENT, data VARCHAR(30))") @@ -1657,9 +1855,13 @@ func (s *testSessionSuite) TestJoinSubquery(c *C) { SELECT table2.id AS id, table2.data AS data, table2.t1id AS t1id FROM table2 ) AS anon_1 ON table1.id = anon_1.t1id;` mustExecSQL(c, se, sqlTxt) + + err := store.Close() + c.Assert(err, IsNil) } func (s *testSessionSuite) TestGlobalVarAccessor(c *C) { + defer testleak.AfterTest(c)() varName := "max_allowed_packet" varValue := "4194304" // This is the default value for max_allowed_packet @@ -1699,6 +1901,9 @@ func (s *testSessionSuite) TestGlobalVarAccessor(c *C) { v, err = se.GetGlobalSysVar(se, varName) c.Assert(err, IsNil) c.Assert(v, Equals, varValue2) + + err = store.Close() + c.Assert(err, IsNil) } func checkPlan(c *C, se Session, sql, explain string) { diff --git a/sessionctx/db/db_test.go b/sessionctx/db/db_test.go index 2ac3e7f137..9ab5a09457 100644 --- a/sessionctx/db/db_test.go +++ b/sessionctx/db/db_test.go @@ -18,6 +18,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -30,6 +31,7 @@ type testDBSuite struct { } func (s *testDBSuite) TestDB(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() // Set and check current schema diff --git a/sessionctx/domainctx_test.go b/sessionctx/domainctx_test.go index a4d6e7fe9b..cc35ae239d 100644 --- a/sessionctx/domainctx_test.go +++ b/sessionctx/domainctx_test.go @@ -18,6 +18,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/util/mock" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -30,6 +31,7 @@ type testSessionCtxSuite struct { } func (s *testSessionCtxSuite) TestDomain(c *C) { + defer testleak.AfterTest(c)() ctx := mock.NewContext() c.Assert(domainKey.String(), Not(Equals), "") diff --git a/sessionctx/variable/statusvar_test.go b/sessionctx/variable/statusvar_test.go index 5af0403ef2..ecd4f75297 100644 --- a/sessionctx/variable/statusvar_test.go +++ b/sessionctx/variable/statusvar_test.go @@ -15,6 +15,7 @@ package variable import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testStatusVarSuite{}) @@ -58,6 +59,7 @@ func (ms *mockStatistics) Stats() (map[string]interface{}, error) { } func (s *testStatusVarSuite) TestStatusVar(c *C) { + defer testleak.AfterTest(c)() scope := s.ms.GetScope(testStatus) c.Assert(scope, Equals, DefaultScopeFlag) scope = s.ms.GetScope(testSessionStatus) diff --git a/store/localstore/boltdb/boltdb_test.go b/store/localstore/boltdb/boltdb_test.go index 54bbf0a27f..76f8819d39 100644 --- a/store/localstore/boltdb/boltdb_test.go +++ b/store/localstore/boltdb/boltdb_test.go @@ -20,6 +20,7 @@ import ( "github.com/boltdb/bolt" . "github.com/pingcap/check" "github.com/pingcap/tidb/store/localstore/engine" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -49,6 +50,7 @@ func (s *testSuite) TearDownSuite(c *C) { } func (s *testSuite) TestPutNilAndDelete(c *C) { + defer testleak.AfterTest(c)() d := s.db rawDB := d.(*db).DB // nil as value @@ -96,6 +98,7 @@ func (s *testSuite) TestPutNilAndDelete(c *C) { } func (s *testSuite) TestGetSet(c *C) { + defer testleak.AfterTest(c)() db := s.db b := db.NewBatch() @@ -116,6 +119,7 @@ func (s *testSuite) TestGetSet(c *C) { } func (s *testSuite) TestSeek(c *C) { + defer testleak.AfterTest(c)() b := s.db.NewBatch() b.Put([]byte("a"), []byte("1")) b.Put([]byte("b"), []byte("2")) @@ -149,6 +153,7 @@ func (s *testSuite) TestSeek(c *C) { } func (s *testSuite) TestMultiSeek(c *C) { + defer testleak.AfterTest(c)() b := s.db.NewBatch() b.Put([]byte("a"), []byte("1")) b.Put([]byte("b"), []byte("2")) diff --git a/store/localstore/compactor_test.go b/store/localstore/compactor_test.go index 8ee587948b..94590f9e3e 100644 --- a/store/localstore/compactor_test.go +++ b/store/localstore/compactor_test.go @@ -19,11 +19,12 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/store/localstore/engine" + "github.com/pingcap/tidb/util/testleak" ) -var _ = Suite(&localstoreCompactorTestSuite{}) +var _ = Suite(&testLocalstoreCompactorSuite{}) -type localstoreCompactorTestSuite struct { +type testLocalstoreCompactorSuite struct { } func count(db engine.DB) int { @@ -41,7 +42,8 @@ func count(db engine.DB) int { return totalCnt } -func (s *localstoreCompactorTestSuite) TestCompactor(c *C) { +func (s *testLocalstoreCompactorSuite) TestCompactor(c *C) { + defer testleak.AfterTest(c)() store := createMemStore(time.Now().Nanosecond()) db := store.(*dbStore).db store.(*dbStore).compactor.Stop() @@ -88,10 +90,12 @@ func (s *localstoreCompactorTestSuite) TestCompactor(c *C) { t = count(db) c.Assert(t, Equals, 2) - compactor.Stop() + err := store.Close() + c.Assert(err, IsNil) } -func (s *localstoreCompactorTestSuite) TestGetAllVersions(c *C) { +func (s *testLocalstoreCompactorSuite) TestGetAllVersions(c *C) { + defer testleak.AfterTest(c)() store := createMemStore(time.Now().Nanosecond()) compactor := store.(*dbStore).compactor txn, _ := store.Begin() @@ -110,11 +114,15 @@ func (s *localstoreCompactorTestSuite) TestGetAllVersions(c *C) { keys, err := compactor.getAllVersions([]byte("a")) c.Assert(err, IsNil) c.Assert(keys, HasLen, 2) + + err = store.Close() + c.Assert(err, IsNil) } // TestStartStop is to test `Panic: sync: WaitGroup is reused before previous Wait has returned` // in Stop function. -func (s *localstoreCompactorTestSuite) TestStartStop(c *C) { +func (s *testLocalstoreCompactorSuite) TestStartStop(c *C) { + defer testleak.AfterTest(c)() store := createMemStore(time.Now().Nanosecond()) db := store.(*dbStore).db @@ -129,4 +137,7 @@ func (s *localstoreCompactorTestSuite) TestStartStop(c *C) { compactor.Stop() c.Logf("Test compactor stop and start %d times", i) } + + err := store.Close() + c.Assert(err, IsNil) } diff --git a/store/localstore/goleveldb/goleveldb_test.go b/store/localstore/goleveldb/goleveldb_test.go index 23a3392902..8318053a0b 100644 --- a/store/localstore/goleveldb/goleveldb_test.go +++ b/store/localstore/goleveldb/goleveldb_test.go @@ -18,6 +18,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/store/localstore/engine" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -44,6 +45,7 @@ func (s *testSuite) TearDownSuite(c *C) { } func (s *testSuite) TestGetSet(c *C) { + defer testleak.AfterTest(c)() db := s.db b := db.NewBatch() @@ -73,6 +75,7 @@ func (s *testSuite) TestGetSet(c *C) { } func (s *testSuite) TestSeek(c *C) { + defer testleak.AfterTest(c)() b := s.db.NewBatch() b.Put([]byte("a"), []byte("1")) b.Put([]byte("b"), []byte("2")) @@ -106,6 +109,7 @@ func (s *testSuite) TestSeek(c *C) { } func (s *testSuite) TestMultiSeek(c *C) { + defer testleak.AfterTest(c)() b := s.db.NewBatch() b.Put([]byte("a"), []byte("1")) b.Put([]byte("b"), []byte("2")) diff --git a/store/localstore/xapi_test.go b/store/localstore/xapi_test.go index 51b4e6cfd4..76401629dc 100644 --- a/store/localstore/xapi_test.go +++ b/store/localstore/xapi_test.go @@ -27,6 +27,7 @@ import ( "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/util/codec" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" "github.com/pingcap/tidb/xapi/tablecodec" "github.com/pingcap/tidb/xapi/tipb" @@ -50,6 +51,7 @@ var tbInfo = &simpleTableInfo{ } func (s *testXAPISuite) TestSelect(c *C) { + defer testleak.AfterTest(c)() store := createMemStore(time.Now().Nanosecond()) count := int64(10) err := prepareTableData(store, tbInfo, count, genValues) @@ -107,6 +109,8 @@ func (s *testXAPISuite) TestSelect(c *C) { c.Assert(h, Equals, i+1) } txn.Commit() + + store.Close() } // simpleTableInfo just have the minimum information enough to describe the table. diff --git a/store/store_test.go b/store/store_test.go index 14cc412baa..4cc2432e88 100644 --- a/store/store_test.go +++ b/store/store_test.go @@ -28,6 +28,7 @@ import ( "github.com/pingcap/tidb/store/localstore" "github.com/pingcap/tidb/store/localstore/boltdb" "github.com/pingcap/tidb/store/localstore/goleveldb" + "github.com/pingcap/tidb/util/testleak" ) var ( @@ -159,6 +160,7 @@ func mustGet(c *C, txn kv.Transaction) { } func (s *testKVSuite) TestGetSet(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) @@ -179,6 +181,7 @@ func (s *testKVSuite) TestGetSet(c *C) { } func (s *testKVSuite) TestSeek(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) @@ -198,6 +201,7 @@ func (s *testKVSuite) TestSeek(c *C) { } func (s *testKVSuite) TestInc(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) @@ -232,6 +236,7 @@ func (s *testKVSuite) TestInc(c *C) { } func (s *testKVSuite) TestDelete(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) @@ -267,6 +272,7 @@ func (s *testKVSuite) TestDelete(c *C) { } func (s *testKVSuite) TestDelete2(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) val := []byte("test") @@ -295,10 +301,10 @@ func (s *testKVSuite) TestDelete2(c *C) { it, _ = txn.Seek([]byte("DATA_test_tbl_department_record__000000000")) c.Assert(it.Valid(), IsFalse) txn.Commit() - } func (s *testKVSuite) TestSetNil(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() defer txn.Commit() c.Assert(err, IsNil) @@ -307,6 +313,7 @@ func (s *testKVSuite) TestSetNil(c *C) { } func (s *testKVSuite) TestBasicSeek(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) txn.Set([]byte("1"), []byte("1")) @@ -322,6 +329,7 @@ func (s *testKVSuite) TestBasicSeek(c *C) { } func (s *testKVSuite) TestBasicTable(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) for i := 1; i < 5; i++ { @@ -369,6 +377,7 @@ func (s *testKVSuite) TestBasicTable(c *C) { } func (s *testKVSuite) TestRollback(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) @@ -396,6 +405,7 @@ func (s *testKVSuite) TestRollback(c *C) { } func (s *testKVSuite) TestSeekMin(c *C) { + defer testleak.AfterTest(c)() kvs := []struct { key string value string @@ -430,6 +440,7 @@ func (s *testKVSuite) TestSeekMin(c *C) { } func (s *testKVSuite) TestConditionIfNotExist(c *C) { + defer testleak.AfterTest(c)() var success int64 cnt := 100 b := []byte("1") @@ -464,6 +475,7 @@ func (s *testKVSuite) TestConditionIfNotExist(c *C) { } func (s *testKVSuite) TestConditionIfEqual(c *C) { + defer testleak.AfterTest(c)() var success int64 cnt := 100 b := []byte("1") @@ -503,6 +515,7 @@ func (s *testKVSuite) TestConditionIfEqual(c *C) { } func (s *testKVSuite) TestConditionUpdate(c *C) { + defer testleak.AfterTest(c)() txn, err := s.s.Begin() c.Assert(err, IsNil) txn.Delete([]byte("b")) @@ -512,6 +525,7 @@ func (s *testKVSuite) TestConditionUpdate(c *C) { } func (s *testKVSuite) TestDBClose(c *C) { + defer testleak.AfterTest(c)() path := "memory:test" d := localstore.Driver{ Driver: goleveldb.MemoryDriver{}, @@ -560,6 +574,7 @@ func (s *testKVSuite) TestDBClose(c *C) { } func (s *testKVSuite) TestBoltDBDeadlock(c *C) { + defer testleak.AfterTest(c)() d := localstore.Driver{ Driver: boltdb.Driver{}, } @@ -596,6 +611,7 @@ func (s *testKVSuite) TestBoltDBDeadlock(c *C) { } func (s *testKVSuite) TestIsolationInc(c *C) { + defer testleak.AfterTest(c)() threadCnt := 4 ids := make(map[int64]struct{}, threadCnt*100) @@ -634,6 +650,7 @@ func (s *testKVSuite) TestIsolationInc(c *C) { } func (s *testKVSuite) TestIsolationMultiInc(c *C) { + defer testleak.AfterTest(c)() threadCnt := 4 incCnt := 100 keyCnt := 4 diff --git a/structure/structure_test.go b/structure/structure_test.go index 76c2cdd13c..815c109fa5 100644 --- a/structure/structure_test.go +++ b/structure/structure_test.go @@ -20,19 +20,20 @@ import ( "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/store/localstore" "github.com/pingcap/tidb/store/localstore/goleveldb" + "github.com/pingcap/tidb/util/testleak" ) func TestTxStructure(t *testing.T) { TestingT(t) } -var _ = Suite(&tesTxStructureSuite{}) +var _ = Suite(&testTxStructureSuite{}) -type tesTxStructureSuite struct { +type testTxStructureSuite struct { store kv.Storage } -func (s *tesTxStructureSuite) SetUpSuite(c *C) { +func (s *testTxStructureSuite) SetUpSuite(c *C) { path := "memory:" d := localstore.Driver{ Driver: goleveldb.MemoryDriver{}, @@ -42,12 +43,13 @@ func (s *tesTxStructureSuite) SetUpSuite(c *C) { s.store = store } -func (s *tesTxStructureSuite) TearDownSuite(c *C) { +func (s *testTxStructureSuite) TearDownSuite(c *C) { err := s.store.Close() c.Assert(err, IsNil) } -func (s *tesTxStructureSuite) TestString(c *C) { +func (s *testTxStructureSuite) TestString(c *C) { + defer testleak.AfterTest(c)() txn, err := s.store.Begin() c.Assert(err, IsNil) defer txn.Rollback() @@ -86,7 +88,8 @@ func (s *tesTxStructureSuite) TestString(c *C) { c.Assert(err, IsNil) } -func (s *tesTxStructureSuite) TestList(c *C) { +func (s *testTxStructureSuite) TestList(c *C) { + defer testleak.AfterTest(c)() txn, err := s.store.Begin() c.Assert(err, IsNil) defer txn.Rollback() @@ -168,7 +171,8 @@ func (s *tesTxStructureSuite) TestList(c *C) { c.Assert(err, IsNil) } -func (s *tesTxStructureSuite) TestHash(c *C) { +func (s *testTxStructureSuite) TestHash(c *C) { + defer testleak.AfterTest(c)() txn, err := s.store.Begin() c.Assert(err, IsNil) defer txn.Rollback() diff --git a/terror/terror_test.go b/terror/terror_test.go index 22ed3f63eb..4121aeef59 100644 --- a/terror/terror_test.go +++ b/terror/terror_test.go @@ -19,6 +19,7 @@ import ( "github.com/juju/errors" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -31,6 +32,7 @@ type testTErrorSuite struct { } func (s *testTErrorSuite) TestTError(c *C) { + defer testleak.AfterTest(c)() c.Assert(ClassParser.String(), Not(Equals), "") c.Assert(ClassOptimizer.String(), Not(Equals), "") c.Assert(ClassKV.String(), Not(Equals), "") @@ -62,6 +64,7 @@ func call() error { } func (s *testTErrorSuite) TestTraceAndLocation(c *C) { + defer testleak.AfterTest(c)() err := example() stack := errors.ErrorStack(err) lines := strings.Split(stack, "\n") @@ -72,6 +75,7 @@ func (s *testTErrorSuite) TestTraceAndLocation(c *C) { } func (s *testTErrorSuite) TestErrorEqual(c *C) { + defer testleak.AfterTest(c)() e1 := errors.New("test error") c.Assert(e1, NotNil) diff --git a/tidb-server/TransactionExpiredException b/tidb-server/TransactionExpiredException new file mode 100644 index 0000000000..fee5f2614e --- /dev/null +++ b/tidb-server/TransactionExpiredException @@ -0,0 +1,4334 @@ +Welcome to the TiDB. +Version: +Git Commit Hash: None +UTC Build Time: None + +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 client.go:156: [debug] connect root region server... host_name:"cuiqiu-pc" port:60020 start_code:1447920008380  +2015/11/20 10:41:11 server.go:116: [info] Server run MySql Protocol Listen at [:4000] +2015/11/20 10:41:20 server.go:80: [info] newConn 127.0.0.1:46303  +2015/11/20 10:41:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581177528582144 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581177528844288 +2015/11/20 10:41:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:41:20 domain.go:57: [info] loadInfoSchema list database +2015/11/20 10:41:20 txn.go:154: [debug] seek "\x00mDBs\x00\x01\x11h" txn:379581177528582144 +2015/11/20 10:41:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581177528844288 +2015/11/20 10:41:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581177528844288 +2015/11/20 10:41:20 txn.go:226: [debug] start to commit txn 379581177528844288 +2015/11/20 10:41:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:41:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:41:20 txn.go:218: [debug] commit successfully, txn.version:379581177530679296 +2015/11/20 10:41:20 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581177528582144 +2015/11/20 10:41:20 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581177528582144 +2015/11/20 10:41:20 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:3\x00\x01", txn:379581177528582144 +2015/11/20 10:41:20 txn.go:154: [debug] seek "\x00mDB:3\x00\x01\x11h" txn:379581177528582144 +2015/11/20 10:41:20 domain.go:85: [info] loadInfoSchema 36 +2015/11/20 10:41:20 txn.go:226: [debug] start to commit txn 379581177528582144 +2015/11/20 10:41:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mBootstrapKey\x00\x01\x11s", txn:379581177562398720 +2015/11/20 10:41:20 domain.go:170: [warning] reload, loop +2015/11/20 10:41:20 txn.go:226: [debug] start to commit txn 379581177562398720 +2015/11/20 10:41:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:41:20 ddl.go:191: [warning] change schema lease 100ms -> 10s +2015/11/20 10:41:20 tidb.go:132: [debug] compiling SELECT Password FROM mysql.User WHERE User="root" and Host="127.0.0.1";  +2015/11/20 10:41:20 domain.go:184: [warning] reload, new lease:10s +2015/11/20 10:41:20 domain.go:170: [warning] reload, loop +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581177562923008 +2015/11/20 10:41:20 select.go:254: [info] Exec : SELECT Password FROM mysql.User WHERE User="root" and Host="127.0.0.1";  +2015/11/20 10:41:20 tidb.go:132: [debug] compiling SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:41:20 session.go:285: [debug] Executing SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit"; [SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";] +2015/11/20 10:41:20 select.go:254: [info] Exec : SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:41:20 tidb.go:132: [debug] compiling SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:41:20 session.go:285: [debug] Executing SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit"; [SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";] +2015/11/20 10:41:20 select.go:254: [info] Exec : SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_i_primary\x00\x01autocommit\x00\x01\x00\x00s", txn:379581177562923009 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x118\x00\x00sdd", txn:379581177562923009 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x119\x00\x00sdd", txn:379581177562923009 +2015/11/20 10:41:20 session.go:515: [info] New txn:379581177562923009 in session:S1 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_i_primary\x00\x01autocommit\x00\x01\x00\x00s", txn:379581177562923009 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x118\x00\x00sdd", txn:379581177562923009 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x119\x00\x00sdd", txn:379581177562923009 +2015/11/20 10:41:20 session.go:515: [info] New txn:379581177563447296 in session:S1 +2015/11/20 10:41:20 txn.go:154: [debug] seek "20_r\x00\x01\x10\x00\x00sd" txn:379581177563447296 +2015/11/20 10:41:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581177562923008 +2015/11/20 10:41:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:41:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581177562923008 +2015/11/20 10:41:20 txn.go:226: [debug] start to commit txn 379581177562923008 +2015/11/20 10:41:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:41:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:41:20 txn.go:218: [debug] commit successfully, txn.version:379581177564233728 +counter themis-get-rpc + count: 11 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x05\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x06\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\a\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\b\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\t\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\n\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\v\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\f\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\r\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x0e\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x0f\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x10\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x11\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x12\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x13\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x05\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x06\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\a\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\b\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\t\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\n\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\v\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\f\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\r\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x0e\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x0f\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x10\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x11\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x12\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x13\x00\x00sdd", txn:379581177563447296 +2015/11/20 10:41:20 tidb.go:132: [debug] compiling select @@version_comment limit 1  +2015/11/20 10:41:20 select.go:254: [info] Exec : select @@version_comment limit 1  +2015/11/20 10:41:20 txn.go:226: [debug] start to commit txn 379581177563447296 +2015/11/20 10:41:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:41:20 tidb.go:132: [debug] compiling SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment";  +2015/11/20 10:41:20 session.go:285: [debug] Executing SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment"; [SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment";] +2015/11/20 10:41:20 select.go:254: [info] Exec : SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment";  +2015/11/20 10:41:20 session.go:515: [info] New txn:379581177580224512 in session:S1 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_i_primary\x00\x01version_comment\x00\x01\x00\x00s", txn:379581177580224512 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_r\x00\x01\x12\x01R\x118\x00\x00sdd", txn:379581177580224512 +2015/11/20 10:41:20 txn.go:99: [debug] get key:"58_r\x00\x01\x12\x01R\x119\x00\x00sdd", txn:379581177580224512 +counter themis-get-rpc + count: 14 +counter themis-get-rpc + count: 14 +counter themis-get-rpc + count: 14 +2015/11/20 10:41:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:41:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:41:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581180184363008 +2015/11/20 10:41:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:41:30 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:41:30 txn.go:226: [debug] start to commit txn 379581180184363008 +2015/11/20 10:41:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:41:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 15 +counter themis-get-rpc + count: 15 +counter themis-get-rpc + count: 15 +2015/11/20 10:41:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:41:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:41:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:41:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581182805803008 +2015/11/20 10:41:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581182805803009 +2015/11/20 10:41:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:41:40 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:41:40 txn.go:226: [debug] start to commit txn 379581182805803008 +2015/11/20 10:41:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:41:40 domain.go:170: [warning] reload, loop +2015/11/20 10:41:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581182805803009 +2015/11/20 10:41:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:41:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581182805803009 +2015/11/20 10:41:40 txn.go:226: [debug] start to commit txn 379581182805803009 +2015/11/20 10:41:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:41:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:41:40 txn.go:218: [debug] commit successfully, txn.version:379581182807113728 +counter themis-get-rpc + count: 18 +counter themis-get-rpc + count: 18 +2015/11/20 10:41:46 tidb.go:132: [debug] compiling SELECT DATABASE()  +2015/11/20 10:41:46 select.go:254: [info] Exec : SELECT DATABASE()  +2015/11/20 10:41:46 conn.go:268: [debug] init db test  +2015/11/20 10:41:46 tidb.go:132: [debug] compiling use test  +2015/11/20 10:41:46 tidb.go:132: [debug] compiling show databases  +2015/11/20 10:41:46 tidb.go:132: [debug] compiling show tables  +2015/11/20 10:41:46 tidb.go:132: [debug] compiling SELECT * FROM t LIMIT 0  +2015/11/20 10:41:46 select.go:254: [info] Exec : SELECT * FROM t LIMIT 0  +2015/11/20 10:41:46 tidb.go:132: [debug] compiling SELECT * FROM tr LIMIT 0  +2015/11/20 10:41:46 select.go:254: [info] Exec : SELECT * FROM tr LIMIT 0  +2015/11/20 10:41:46 tidb.go:132: [debug] compiling SELECT * FROM tt LIMIT 0  +2015/11/20 10:41:46 select.go:254: [info] Exec : SELECT * FROM tt LIMIT 0  +counter themis-get-rpc + count: 18 +2015/11/20 10:41:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:41:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:41:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581185427243008 +2015/11/20 10:41:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:41:50 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:41:50 txn.go:226: [debug] start to commit txn 379581185427243008 +2015/11/20 10:41:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:41:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 19 +counter themis-get-rpc + count: 19 +counter themis-get-rpc + count: 19 +counter themis-get-rpc + count: 19 +2015/11/20 10:42:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:42:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:42:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581188048683008 +2015/11/20 10:42:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:42:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581188048683009 +2015/11/20 10:42:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581188048683009 +2015/11/20 10:42:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:42:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581188048683009 +2015/11/20 10:42:00 txn.go:226: [debug] start to commit txn 379581188048683009 +2015/11/20 10:42:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:42:00 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:42:00 txn.go:226: [debug] start to commit txn 379581188048683008 +2015/11/20 10:42:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:42:00 domain.go:170: [warning] reload, loop +2015/11/20 10:42:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:00 txn.go:218: [debug] commit successfully, txn.version:379581188049731584 +counter themis-get-rpc + count: 22 +counter themis-get-rpc + count: 22 +counter themis-get-rpc + count: 22 +2015/11/20 10:42:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:42:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:42:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581190670123008 +2015/11/20 10:42:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:42:10 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:42:10 txn.go:226: [debug] start to commit txn 379581190670123008 +2015/11/20 10:42:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:42:10 domain.go:170: [warning] reload, loop +2015/11/20 10:42:11 tidb.go:132: [debug] compiling show tables  +counter themis-get-rpc + count: 23 +counter themis-get-rpc + count: 23 +counter themis-get-rpc + count: 23 +2015/11/20 10:42:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:42:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:42:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:42:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581193291563008 +2015/11/20 10:42:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581193291563009 +2015/11/20 10:42:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581193291563008 +2015/11/20 10:42:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:42:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581193291563008 +2015/11/20 10:42:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:42:20 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:42:20 txn.go:226: [debug] start to commit txn 379581193291563009 +2015/11/20 10:42:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:42:20 domain.go:170: [warning] reload, loop +2015/11/20 10:42:20 txn.go:226: [debug] start to commit txn 379581193291563008 +2015/11/20 10:42:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:20 txn.go:218: [debug] commit successfully, txn.version:379581193293135872 +counter themis-get-rpc + count: 26 +counter themis-get-rpc + count: 26 +counter themis-get-rpc + count: 26 +counter themis-get-rpc + count: 26 +2015/11/20 10:42:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:42:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:42:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581195913003008 +2015/11/20 10:42:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:42:30 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:42:30 txn.go:226: [debug] start to commit txn 379581195913003008 +2015/11/20 10:42:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:42:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 27 +counter themis-get-rpc + count: 27 +counter themis-get-rpc + count: 27 +2015/11/20 10:42:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:42:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:42:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:42:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581198534443009 +2015/11/20 10:42:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581198534443008 +2015/11/20 10:42:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:42:40 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:42:40 txn.go:226: [debug] start to commit txn 379581198534443008 +2015/11/20 10:42:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:42:40 domain.go:170: [warning] reload, loop +2015/11/20 10:42:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581198534443009 +2015/11/20 10:42:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:42:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581198534443009 +2015/11/20 10:42:40 txn.go:226: [debug] start to commit txn 379581198534443009 +2015/11/20 10:42:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:40 txn.go:218: [debug] commit successfully, txn.version:379581198536278016 +counter themis-get-rpc + count: 30 +counter themis-get-rpc + count: 30 +counter themis-get-rpc + count: 30 +2015/11/20 10:42:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:42:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:42:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581201155883008 +2015/11/20 10:42:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:42:50 domain.go:53: [debug] schema version is still 36, no need reload +2015/11/20 10:42:50 txn.go:226: [debug] start to commit txn 379581201155883008 +2015/11/20 10:42:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:42:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 31 +2015/11/20 10:42:52 tidb.go:132: [debug] compiling create table w (id int)  +2015/11/20 10:42:52 txn.go:65: [debug] Inc "\x00mNextGlobalID\x00\x01\x11s", step 1 txn:379581201819369472 +2015/11/20 10:42:52 txn.go:226: [debug] start to commit txn 379581201819369472 +2015/11/20 10:42:52 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:52 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:52 txn.go:218: [debug] commit successfully, txn.version:379581201820418048 +2015/11/20 10:42:52 txn.go:65: [debug] Inc "\x00mNextGlobalID\x00\x01\x11s", step 1 txn:379581201820942336 +2015/11/20 10:42:52 txn.go:226: [debug] start to commit txn 379581201820942336 +2015/11/20 10:42:52 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:52 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:52 txn.go:218: [debug] commit successfully, txn.version:379581201821990912 +2015/11/20 10:42:52 txn.go:65: [debug] Inc "\x00mNextGlobalID\x00\x01\x11s", step 1 txn:379581201822515200 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581201822515200 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581201822515200 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDDLJobList\x00\x01\x11L", txn:379581201822515200 +2015/11/20 10:42:52 txn.go:226: [debug] start to commit txn 379581201822515200 +2015/11/20 10:42:52 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:52 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:52 txn.go:218: [debug] commit successfully, txn.version:379581201824088064 +2015/11/20 10:42:52 worker.go:54: [warning] start DDL job ID:80, Type:create table, State:none, SchemaState:none, SchemaID:1, TableID:79, Args:[{"id":79,"name":{"O":"w","L":"w"},"charset":"","collate":"","cols":[{"id":78,"name":{"O":"id","L":"id"},"offset":0,"default":null,"type":{"Tp":3,"Flag":128,"Flen":11,"Decimal":-1,"Charset":"binary","Collate":"binary","Elems":null},"state":5}],"index_info":null,"state":0}] +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581201824874496 +2015/11/20 10:42:52 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581201824874496 +2015/11/20 10:42:52 transaction.go:377: [info] primary lock not found  +2015/11/20 10:42:52 themis_client.go:259: [info] call batch commit secondary rows 2  +2015/11/20 10:42:52 transaction.go:386: [info] txn has been committed, ts: 379581201824088064 prewriteTs: 379581201822515200  +2015/11/20 10:42:52 transaction.go:343: [info] get again, ignore lock 379581201824874496 ResultRow({Row:[122 0 109 68 68 76 74 111 98 76 105 115 116 0 1 17 108 16] Columns:map[f:q:Kv({Row:[122 0 109 68 68 76 74 111 98 76 105 115 116 0 1 17 108 16] Ts:379581201822515200 Value:[123 34 105 100 34 58 56 48 44 34 116 121 112 101 34 58 51 44 34 115 99 104 101 109 97 95 105 100 34 58 49 44 34 116 97 98 108 101 95 105 100 34 58 55 57 44 34 115 116 97 116 101 34 58 48 44 34 101 114 114 34 58 34 34 44 34 101 114 114 95 99 111 117 110 116 34 58 48 44 34 114 97 119 95 97 114 103 115 34 58 91 123 34 105 100 34 58 55 57 44 34 110 97 109 101 34 58 123 34 79 34 58 34 119 34 44 34 76 34 58 34 119 34 125 44 34 99 104 97 114 115 101 116 34 58 34 34 44 34 99 111 108 108 97 116 101 34 58 34 34 44 34 99 111 108 115 34 58 91 123 34 105 100 34 58 55 56 44 34 110 97 109 101 34 58 123 34 79 34 58 34 105 100 34 44 34 76 34 58 34 105 100 34 125 44 34 111 102 102 115 101 116 34 58 48 44 34 100 101 102 97 117 108 116 34 58 110 117 108 108 44 34 116 121 112 101 34 58 123 34 84 112 34 58 51 44 34 70 108 97 103 34 58 49 50 56 44 34 70 108 101 110 34 58 49 49 44 34 68 101 99 105 109 97 108 34 58 45 49 44 34 67 104 97 114 115 101 116 34 58 34 98 105 110 97 114 121 34 44 34 67 111 108 108 97 116 101 34 58 34 98 105 110 97 114 121 34 44 34 69 108 101 109 115 34 58 110 117 108 108 125 44 34 115 116 97 116 101 34 58 53 125 93 44 34 105 110 100 101 120 95 105 110 102 111 34 58 110 117 108 108 44 34 115 116 97 116 101 34 58 48 125 93 44 34 115 99 104 101 109 97 95 115 116 97 116 101 34 58 48 44 34 115 110 97 112 115 104 111 116 95 118 101 114 34 58 48 44 34 108 97 115 116 95 117 112 100 97 116 101 95 116 115 34 58 48 125] Values:map[379581201822515200:[123 34 105 100 34 58 56 48 44 34 116 121 112 101 34 58 51 44 34 115 99 104 101 109 97 95 105 100 34 58 49 44 34 116 97 98 108 101 95 105 100 34 58 55 57 44 34 115 116 97 116 101 34 58 48 44 34 101 114 114 34 58 34 34 44 34 101 114 114 95 99 111 117 110 116 34 58 48 44 34 114 97 119 95 97 114 103 115 34 58 91 123 34 105 100 34 58 55 57 44 34 110 97 109 101 34 58 123 34 79 34 58 34 119 34 44 34 76 34 58 34 119 34 125 44 34 99 104 97 114 115 101 116 34 58 34 34 44 34 99 111 108 108 97 116 101 34 58 34 34 44 34 99 111 108 115 34 58 91 123 34 105 100 34 58 55 56 44 34 110 97 109 101 34 58 123 34 79 34 58 34 105 100 34 44 34 76 34 58 34 105 100 34 125 44 34 111 102 102 115 101 116 34 58 48 44 34 100 101 102 97 117 108 116 34 58 110 117 108 108 44 34 116 121 112 101 34 58 123 34 84 112 34 58 51 44 34 70 108 97 103 34 58 49 50 56 44 34 70 108 101 110 34 58 49 49 44 34 68 101 99 105 109 97 108 34 58 45 49 44 34 67 104 97 114 115 101 116 34 58 34 98 105 110 97 114 121 34 44 34 67 111 108 108 97 116 101 34 58 34 98 105 110 97 114 121 34 44 34 69 108 101 109 115 34 58 110 117 108 108 125 44 34 115 116 97 116 101 34 58 53 125 93 44 34 105 110 100 101 120 95 105 110 102 111 34 58 110 117 108 108 44 34 115 116 97 116 101 34 58 48 125 93 44 34 115 99 104 101 109 97 95 115 116 97 116 101 34 58 48 44 34 115 110 97 112 115 104 111 116 95 118 101 114 34 58 48 44 34 108 97 115 116 95 117 112 100 97 116 101 95 116 115 34 58 48 125]] Column:{Family:[102] Qual:[113]}})] SortedColumns:[Kv({Row:[122 0 109 68 68 76 74 111 98 76 105 115 116 0 1 17 108 16] Ts:379581201822515200 Value:[123 34 105 100 34 58 56 48 44 34 116 121 112 101 34 58 51 44 34 115 99 104 101 109 97 95 105 100 34 58 49 44 34 116 97 98 108 101 95 105 100 34 58 55 57 44 34 115 116 97 116 101 34 58 48 44 34 101 114 114 34 58 34 34 44 34 101 114 114 95 99 111 117 110 116 34 58 48 44 34 114 97 119 95 97 114 103 115 34 58 91 123 34 105 100 34 58 55 57 44 34 110 97 109 101 34 58 123 34 79 34 58 34 119 34 44 34 76 34 58 34 119 34 125 44 34 99 104 97 114 115 101 116 34 58 34 34 44 34 99 111 108 108 97 116 101 34 58 34 34 44 34 99 111 108 115 34 58 91 123 34 105 100 34 58 55 56 44 34 110 97 109 101 34 58 123 34 79 34 58 34 105 100 34 44 34 76 34 58 34 105 100 34 125 44 34 111 102 102 115 101 116 34 58 48 44 34 100 101 102 97 117 108 116 34 58 110 117 108 108 44 34 116 121 112 101 34 58 123 34 84 112 34 58 51 44 34 70 108 97 103 34 58 49 50 56 44 34 70 108 101 110 34 58 49 49 44 34 68 101 99 105 109 97 108 34 58 45 49 44 34 67 104 97 114 115 101 116 34 58 34 98 105 110 97 114 121 34 44 34 67 111 108 108 97 116 101 34 58 34 98 105 110 97 114 121 34 44 34 69 108 101 109 115 34 58 110 117 108 108 125 44 34 115 116 97 116 101 34 58 53 125 93 44 34 105 110 100 101 120 95 105 110 102 111 34 58 110 117 108 108 44 34 115 116 97 116 101 34 58 48 125 93 44 34 115 99 104 101 109 97 95 115 116 97 116 101 34 58 48 44 34 115 110 97 112 115 104 111 116 95 118 101 114 34 58 48 44 34 108 97 115 116 95 117 112 100 97 116 101 95 116 115 34 58 48 125] Values:map[379581201822515200:[123 34 105 100 34 58 56 48 44 34 116 121 112 101 34 58 51 44 34 115 99 104 101 109 97 95 105 100 34 58 49 44 34 116 97 98 108 101 95 105 100 34 58 55 57 44 34 115 116 97 116 101 34 58 48 44 34 101 114 114 34 58 34 34 44 34 101 114 114 95 99 111 117 110 116 34 58 48 44 34 114 97 119 95 97 114 103 115 34 58 91 123 34 105 100 34 58 55 57 44 34 110 97 109 101 34 58 123 34 79 34 58 34 119 34 44 34 76 34 58 34 119 34 125 44 34 99 104 97 114 115 101 116 34 58 34 34 44 34 99 111 108 108 97 116 101 34 58 34 34 44 34 99 111 108 115 34 58 91 123 34 105 100 34 58 55 56 44 34 110 97 109 101 34 58 123 34 79 34 58 34 105 100 34 44 34 76 34 58 34 105 100 34 125 44 34 111 102 102 115 101 116 34 58 48 44 34 100 101 102 97 117 108 116 34 58 110 117 108 108 44 34 116 121 112 101 34 58 123 34 84 112 34 58 51 44 34 70 108 97 103 34 58 49 50 56 44 34 70 108 101 110 34 58 49 49 44 34 68 101 99 105 109 97 108 34 58 45 49 44 34 67 104 97 114 115 101 116 34 58 34 98 105 110 97 114 121 34 44 34 67 111 108 108 97 116 101 34 58 34 98 105 110 97 114 121 34 44 34 69 108 101 109 115 34 58 110 117 108 108 125 44 34 115 116 97 116 101 34 58 53 125 93 44 34 105 110 100 101 120 95 105 110 102 111 34 58 110 117 108 108 44 34 115 116 97 116 101 34 58 48 125 93 44 34 115 99 104 101 109 97 95 115 116 97 116 101 34 58 48 44 34 115 110 97 112 115 104 111 116 95 118 101 114 34 58 48 44 34 108 97 115 116 95 117 112 100 97 116 101 95 116 115 34 58 48 125]] Column:{Family:[102] Qual:[113]}})]})  +2015/11/20 10:42:52 worker.go:212: [warning] run DDL job ID:80, Type:create table, State:none, SchemaState:none, SchemaID:1, TableID:79, Args:[{"id":79,"name":{"O":"w","L":"w"},"charset":"","collate":"","cols":[{"id":78,"name":{"O":"id","L":"id"},"offset":0,"default":null,"type":{"Tp":3,"Flag":128,"Flen":11,"Decimal":-1,"Charset":"binary","Collate":"binary","Elems":null},"state":5}],"index_info":null,"state":0}] +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581201824874496 +2015/11/20 10:42:52 txn.go:65: [debug] Inc "\x00mSchemaVersionKey\x00\x01\x11s", step 1 txn:379581201824874496 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11H", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDB:1\x00\x01\x11H", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581201824874496 +2015/11/20 10:42:52 txn.go:226: [debug] start to commit txn 379581201824874496 +2015/11/20 10:42:52 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:42:52 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:42:52 txn.go:218: [debug] commit successfully, txn.version:379581201835884544 +2015/11/20 10:42:52 themis_client.go:259: [info] call batch commit secondary rows 4  +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +2015/11/20 10:43:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:43:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:43:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581203777323008 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +2015/11/20 10:43:12 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581207079288832 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +2015/11/20 10:44:32 txn.go:99: [debug] get key:"\x00mDDLJobHistory\x00\x01\x11h\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xffP\x00\x01", txn:379581228039274496 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +counter themis-get-rpc + count: 44 +2015/11/20 10:49:50 server.go:80: [info] newConn 127.0.0.1:46488  +2015/11/20 10:49:50 tidb.go:132: [debug] compiling SELECT Password FROM mysql.User WHERE User="root" and Host="127.0.0.1";  +2015/11/20 10:49:50 select.go:254: [info] Exec : SELECT Password FROM mysql.User WHERE User="root" and Host="127.0.0.1";  +2015/11/20 10:49:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:49:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581311280742400 +2015/11/20 10:49:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:49:50 domain.go:57: [info] loadInfoSchema list database +2015/11/20 10:49:50 txn.go:154: [debug] seek "\x00mDBs\x00\x01\x11h" txn:379581311280742400 +2015/11/20 10:49:50 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:49:50 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581311280742400 +2015/11/20 10:49:50 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581311280742400 +2015/11/20 10:49:50 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:49:50 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:3\x00\x01", txn:379581311280742400 +2015/11/20 10:49:50 txn.go:154: [debug] seek "\x00mDB:3\x00\x01\x11h" txn:379581311280742400 +2015/11/20 10:49:50 domain.go:85: [info] loadInfoSchema 37 +2015/11/20 10:49:50 txn.go:226: [debug] start to commit txn 379581311280742400 +2015/11/20 10:49:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:49:50 tidb.go:132: [debug] compiling SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:49:50 session.go:285: [debug] Executing SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit"; [SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";] +2015/11/20 10:49:50 select.go:254: [info] Exec : SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:49:50 tidb.go:132: [debug] compiling SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:49:50 session.go:285: [debug] Executing SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit"; [SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";] +2015/11/20 10:49:50 select.go:254: [info] Exec : SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="autocommit";  +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_i_primary\x00\x01autocommit\x00\x01\x00\x00s", txn:379581311302762496 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x118\x00\x00sdd", txn:379581311302762496 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x119\x00\x00sdd", txn:379581311302762496 +2015/11/20 10:49:50 session.go:515: [info] New txn:379581311302762496 in session:S2 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_i_primary\x00\x01autocommit\x00\x01\x00\x00s", txn:379581311302762496 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x118\x00\x00sdd", txn:379581311302762496 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_r\x00\x01\x11\x9b\x119\x00\x00sdd", txn:379581311302762496 +2015/11/20 10:49:50 session.go:515: [info] New txn:379581311303286784 in session:S2 +2015/11/20 10:49:50 txn.go:154: [debug] seek "20_r\x00\x01\x10\x00\x00sd" txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x05\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x06\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\a\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\b\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\t\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\n\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\v\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\f\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\r\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x0e\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x0f\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x10\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x11\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x12\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x01\x11\x13\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x05\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x06\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\a\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\b\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\t\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\n\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\v\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\f\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\r\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x0e\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x0f\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x10\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x11\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x12\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"20_r\x00\x01\x11\x02\x11\x13\x00\x00sdd", txn:379581311303286784 +2015/11/20 10:49:50 tidb.go:132: [debug] compiling select @@version_comment limit 1  +2015/11/20 10:49:50 select.go:254: [info] Exec : select @@version_comment limit 1  +2015/11/20 10:49:50 txn.go:226: [debug] start to commit txn 379581311303286784 +2015/11/20 10:49:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:49:50 tidb.go:132: [debug] compiling SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment";  +2015/11/20 10:49:50 session.go:285: [debug] Executing SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment"; [SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment";] +2015/11/20 10:49:50 select.go:254: [info] Exec : SELECT VARIABLE_VALUE FROM mysql.GLOBAL_VARIABLES WHERE VARIABLE_NAME="version_comment";  +2015/11/20 10:49:50 session.go:515: [info] New txn:379581311316131840 in session:S2 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_i_primary\x00\x01version_comment\x00\x01\x00\x00s", txn:379581311316131840 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_r\x00\x01\x12\x01R\x118\x00\x00sdd", txn:379581311316131840 +2015/11/20 10:49:50 txn.go:99: [debug] get key:"58_r\x00\x01\x12\x01R\x119\x00\x00sdd", txn:379581311316131840 +counter themis-get-rpc + count: 53 +2015/11/20 10:49:55 tidb.go:132: [debug] compiling SELECT DATABASE()  +2015/11/20 10:49:55 select.go:254: [info] Exec : SELECT DATABASE()  +2015/11/20 10:49:55 conn.go:268: [debug] init db test  +2015/11/20 10:49:55 tidb.go:132: [debug] compiling use test  +2015/11/20 10:49:55 tidb.go:132: [debug] compiling show databases  +2015/11/20 10:49:55 tidb.go:132: [debug] compiling show tables  +2015/11/20 10:49:55 tidb.go:132: [debug] compiling SELECT * FROM t LIMIT 0  +2015/11/20 10:49:55 select.go:254: [info] Exec : SELECT * FROM t LIMIT 0  +2015/11/20 10:49:55 tidb.go:132: [debug] compiling SELECT * FROM tr LIMIT 0  +2015/11/20 10:49:55 select.go:254: [info] Exec : SELECT * FROM tr LIMIT 0  +2015/11/20 10:49:55 tidb.go:132: [debug] compiling SELECT * FROM tt LIMIT 0  +2015/11/20 10:49:55 select.go:254: [info] Exec : SELECT * FROM tt LIMIT 0  +counter themis-get-rpc + count: 53 +counter themis-get-rpc + count: 53 +2015/11/20 10:50:01 txn.go:226: [debug] start to commit txn 379581228039274496 +2015/11/20 10:50:01 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:01 worker.go:75: [warning] job 80 is not in history, maybe not run +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDDLJobHistory\x00\x01\x11h\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xffP\x00\x01", txn:379581314358312960 +2015/11/20 10:50:01 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581207079288832 +2015/11/20 10:50:01 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:226: [debug] start to commit txn 379581314358312960 +2015/11/20 10:50:01 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:01 worker.go:75: [warning] job 80 is not in history, maybe not run +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581207079288832 +2015/11/20 10:50:01 worker.go:212: [warning] run DDL job ID:80, Type:create table, State:running, SchemaState:delete only, SchemaID:1, TableID:79, Args:[{"id":79,"name":{"O":"w","L":"w"},"charset":"","collate":"","cols":[{"id":78,"name":{"O":"id","L":"id"},"offset":0,"default":null,"type":{"Tp":3,"Flag":128,"Flen":11,"Decimal":-1,"Charset":"binary","Collate":"binary","Elems":null},"state":5}],"index_info":null,"state":1}] +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581207079288832 +2015/11/20 10:50:01 txn.go:65: [debug] Inc "\x00mSchemaVersionKey\x00\x01\x11s", step 1 txn:379581207079288832 +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:148: [debug] set key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11H", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:148: [debug] set key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581207079288832 +2015/11/20 10:50:01 txn.go:226: [debug] start to commit txn 379581207079288832 +2015/11/20 10:50:01 action.go:169: [info] Retrying action for the 1 time +2015/11/20 10:50:01 action.go:169: [info] Retrying action for the 2 time +2015/11/20 10:50:01 action.go:169: [info] Retrying action for the 3 time +2015/11/20 10:50:02 action.go:169: [info] Retrying action for the 4 time +2015/11/20 10:50:02 txn.go:213: [error] Exception returned: org.apache.hadoop.hbase.themis.exception.TransactionExpiredException +org.apache.hadoop.hbase.themis.exception.TransactionExpiredException: Expired Write Transaction, write transaction start Ts:379581207079288832, expired Ts:379581312617414656, currentMs=1447987805324, row=zmDDLJobListl + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.checkWriteTTL(ThemisEndpoint.java:219) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewriteRow(ThemisEndpoint.java:493) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewriteRow(ThemisEndpoint.java:405) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewritePrimaryRow(ThemisEndpoint.java:336) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewriteRow(ThemisEndpoint.java:284) + at org.apache.hadoop.hbase.themis.cp.generated.ThemisProtos$ThemisService.callMethod(ThemisProtos.java:14035) + at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:6010) + at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3510) + at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3492) + at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:30950) + at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2109) + at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:101) + at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) + at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) + at java.lang.Thread.run(Thread.java:745) +  +2015/11/20 10:50:02 worker.go:292: [error] handle job err github.com/pingcap/go-hbase/client_ops.go:69: Exception returned: org.apache.hadoop.hbase.themis.exception.TransactionExpiredException +org.apache.hadoop.hbase.themis.exception.TransactionExpiredException: Expired Write Transaction, write transaction start Ts:379581207079288832, expired Ts:379581312617414656, currentMs=1447987805324, row=zmDDLJobListl + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.checkWriteTTL(ThemisEndpoint.java:219) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewriteRow(ThemisEndpoint.java:493) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewriteRow(ThemisEndpoint.java:405) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewritePrimaryRow(ThemisEndpoint.java:336) + at org.apache.hadoop.hbase.themis.cp.ThemisEndpoint.prewriteRow(ThemisEndpoint.java:284) + at org.apache.hadoop.hbase.themis.cp.generated.ThemisProtos$ThemisService.callMethod(ThemisProtos.java:14035) + at org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:6010) + at org.apache.hadoop.hbase.regionserver.HRegionServer.execServiceOnRegion(HRegionServer.java:3510) + at org.apache.hadoop.hbase.regionserver.HRegionServer.execService(HRegionServer.java:3492) + at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:30950) + at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2109) + at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:101) + at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:130) + at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:107) + at java.lang.Thread.run(Thread.java:745) + +github.com/pingcap/go-themis/themis_client.go:53: +github.com/pingcap/go-themis/themis_client.go:139: +github.com/pingcap/go-themis/transaction.go:522: +github.com/pingcap/go-themis/transaction.go:171: +github.com/pingcap/tidb/store/hbase/txn.go:214: +github.com/pingcap/tidb/kv/txn.go:61: +github.com/pingcap/tidb/ddl/worker.go:240:  +2015/11/20 10:50:02 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581314367750144 +2015/11/20 10:50:02 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581314367750144 +2015/11/20 10:50:02 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:02 domain.go:53: [debug] schema version is still 37, no need reload +2015/11/20 10:50:02 txn.go:226: [debug] start to commit txn 379581203777323008 +2015/11/20 10:50:02 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:02 domain.go:170: [warning] reload, loop +2015/11/20 10:50:02 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:50:02 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581314368012288 +2015/11/20 10:50:02 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:02 domain.go:53: [debug] schema version is still 37, no need reload +2015/11/20 10:50:02 txn.go:226: [debug] start to commit txn 379581314368012288 +2015/11/20 10:50:02 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:02 domain.go:170: [warning] reload, loop +2015/11/20 10:50:02 domain.go:184: [warning] reload, new lease:10s +2015/11/20 10:50:02 domain.go:170: [warning] reload, loop +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581314367750144 +2015/11/20 10:50:02 worker.go:212: [warning] run DDL job ID:80, Type:create table, State:running, SchemaState:delete only, SchemaID:1, TableID:79, Args:[{"id":79,"name":{"O":"w","L":"w"},"charset":"","collate":"","cols":[{"id":78,"name":{"O":"id","L":"id"},"offset":0,"default":null,"type":{"Tp":3,"Flag":128,"Flen":11,"Decimal":-1,"Charset":"binary","Collate":"binary","Elems":null},"state":5}],"index_info":null,"state":1}] +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581314367750144 +2015/11/20 10:50:02 txn.go:65: [debug] Inc "\x00mSchemaVersionKey\x00\x01\x11s", step 1 txn:379581314367750144 +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:148: [debug] set key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11H", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:148: [debug] set key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581314367750144 +2015/11/20 10:50:02 txn.go:226: [debug] start to commit txn 379581314367750144 +2015/11/20 10:50:02 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:50:02 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:50:02 txn.go:218: [debug] commit successfully, txn.version:379581314375352320 +2015/11/20 10:50:02 themis_client.go:259: [info] call batch commit secondary rows 3  +counter themis-get-rpc + count: 71 +counter themis-get-rpc + count: 71 +counter themis-get-rpc + count: 71 +2015/11/20 10:50:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:50:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581316499243008 +2015/11/20 10:50:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:10 domain.go:57: [info] loadInfoSchema list database +2015/11/20 10:50:10 txn.go:154: [debug] seek "\x00mDBs\x00\x01\x11h" txn:379581316499243008 +2015/11/20 10:50:10 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:50:10 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581316499243008 +2015/11/20 10:50:10 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581316499243008 +2015/11/20 10:50:10 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:50:10 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:3\x00\x01", txn:379581316499243008 +2015/11/20 10:50:10 txn.go:154: [debug] seek "\x00mDB:3\x00\x01\x11h" txn:379581316499243008 +2015/11/20 10:50:10 domain.go:85: [info] loadInfoSchema 38 +2015/11/20 10:50:10 txn.go:226: [debug] start to commit txn 379581316499243008 +2015/11/20 10:50:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 74 +counter themis-get-rpc + count: 74 +counter themis-get-rpc + count: 74 +2015/11/20 10:50:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:50:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581319120683008 +2015/11/20 10:50:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:20 domain.go:53: [debug] schema version is still 38, no need reload +2015/11/20 10:50:20 txn.go:226: [debug] start to commit txn 379581319120683008 +2015/11/20 10:50:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:20 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 75 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581319618494464 +2015/11/20 10:50:22 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581319618494464 +2015/11/20 10:50:22 worker.go:212: [warning] run DDL job ID:80, Type:create table, State:running, SchemaState:write only, SchemaID:1, TableID:79, Args:[{"id":79,"name":{"O":"w","L":"w"},"charset":"","collate":"","cols":[{"id":78,"name":{"O":"id","L":"id"},"offset":0,"default":null,"type":{"Tp":3,"Flag":128,"Flen":11,"Decimal":-1,"Charset":"binary","Collate":"binary","Elems":null},"state":5}],"index_info":null,"state":0}] +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581319618494464 +2015/11/20 10:50:22 txn.go:65: [debug] Inc "\x00mSchemaVersionKey\x00\x01\x11s", step 1 txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:148: [debug] set key:"\x00mDB:1\x00\x01\x11hmTable:79\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDB:1\x00\x01\x11H", txn:379581319618494464 +2015/11/20 10:50:22 worker.go:155: [warning] finish DDL job ID:80, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:79, Args:[{"id":79,"name":{"O":"w","L":"w"},"charset":"","collate":"","cols":[{"id":78,"name":{"O":"id","L":"id"},"offset":0,"default":null,"type":{"Tp":3,"Flag":128,"Flen":11,"Decimal":-1,"Charset":"binary","Collate":"binary","Elems":null},"state":5}],"index_info":null,"state":0}] +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11l\x10", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:164: [debug] delete "\x00mDDLJobList\x00\x01\x11l\x10" txn:379581319618494464 +2015/11/20 10:50:22 txn.go:164: [debug] delete "\x00mDDLJobList\x00\x01\x11L" txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLJobHistory\x00\x01\x11h\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xffP\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:148: [debug] set key:"\x00mDDLJobHistory\x00\x01\x11h\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xffP\x00\x01", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:99: [debug] get key:"\x00mDDLJobHistory\x00\x01\x11H", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:148: [debug] set key:"\x00mDDLJobHistory\x00\x01\x11H", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581319618494464 +2015/11/20 10:50:22 txn.go:226: [debug] start to commit txn 379581319618494464 +2015/11/20 10:50:22 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:50:22 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:50:22 txn.go:218: [debug] commit successfully, txn.version:379581319628455936 +2015/11/20 10:50:22 themis_client.go:259: [info] call batch commit secondary rows 6  +counter themis-get-rpc + count: 84 +counter themis-get-rpc + count: 84 +counter themis-get-rpc + count: 84 +2015/11/20 10:50:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:50:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581321742123008 +2015/11/20 10:50:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:30 domain.go:57: [info] loadInfoSchema list database +2015/11/20 10:50:30 txn.go:154: [debug] seek "\x00mDBs\x00\x01\x11h" txn:379581321742123008 +2015/11/20 10:50:30 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:50:30 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:1\x00\x01", txn:379581321742123008 +2015/11/20 10:50:30 txn.go:154: [debug] seek "\x00mDB:1\x00\x01\x11h" txn:379581321742123008 +2015/11/20 10:50:30 domain.go:69: [info] loadInfoSchema list table +2015/11/20 10:50:30 txn.go:99: [debug] get key:"\x00mDBs\x00\x01\x11hmDB:3\x00\x01", txn:379581321742123008 +2015/11/20 10:50:30 txn.go:154: [debug] seek "\x00mDB:3\x00\x01\x11h" txn:379581321742123008 +2015/11/20 10:50:30 domain.go:85: [info] loadInfoSchema 39 +2015/11/20 10:50:30 txn.go:226: [debug] start to commit txn 379581321742123008 +2015/11/20 10:50:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 87 +counter themis-get-rpc + count: 87 +counter themis-get-rpc + count: 87 +2015/11/20 10:50:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:50:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581324363563008 +2015/11/20 10:50:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:50:40 txn.go:226: [debug] start to commit txn 379581324363563008 +2015/11/20 10:50:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:40 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 88 +2015/11/20 10:50:42 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581324871598080 +2015/11/20 10:50:42 txn.go:99: [debug] get key:"\x00mDDLJobHistory\x00\x01\x11h\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xff\x00\xffP\x00\x01", txn:379581324871598081 +2015/11/20 10:50:42 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581324871598080 +2015/11/20 10:50:42 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:50:42 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581324871598080 +2015/11/20 10:50:42 txn.go:226: [debug] start to commit txn 379581324871598081 +2015/11/20 10:50:42 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:42 domain.go:211: [warning] on DDL change +2015/11/20 10:50:42 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:42 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581324872122368 +2015/11/20 10:50:42 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:42 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:50:42 txn.go:226: [debug] start to commit txn 379581324872122368 +2015/11/20 10:50:42 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:42 txn.go:226: [debug] start to commit txn 379581324871598080 +2015/11/20 10:50:42 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:50:42 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:50:42 txn.go:218: [debug] commit successfully, txn.version:379581324873433088 +2015/11/20 10:50:42 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:50:42 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581324874219520 +2015/11/20 10:50:42 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581324874219520 +2015/11/20 10:50:42 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:50:42 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581324874219520 +2015/11/20 10:50:42 txn.go:226: [debug] start to commit txn 379581324874219520 +2015/11/20 10:50:42 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:50:42 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:50:42 txn.go:218: [debug] commit successfully, txn.version:379581324875530240 +counter themis-get-rpc + count: 94 +counter themis-get-rpc + count: 94 +2015/11/20 10:50:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:50:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:50:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581326985003008 +2015/11/20 10:50:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:50:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:50:50 txn.go:226: [debug] start to commit txn 379581326985003008 +2015/11/20 10:50:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:50:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 95 +counter themis-get-rpc + count: 95 +counter themis-get-rpc + count: 95 +counter themis-get-rpc + count: 95 +2015/11/20 10:51:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:51:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:51:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:51:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581329606443008 +2015/11/20 10:51:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581329606443009 +2015/11/20 10:51:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:51:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:51:00 txn.go:226: [debug] start to commit txn 379581329606443008 +2015/11/20 10:51:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:51:00 domain.go:170: [warning] reload, loop +2015/11/20 10:51:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581329606443009 +2015/11/20 10:51:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:51:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581329606443009 +2015/11/20 10:51:00 txn.go:226: [debug] start to commit txn 379581329606443009 +2015/11/20 10:51:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:51:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:51:00 txn.go:218: [debug] commit successfully, txn.version:379581329607229440 +counter themis-get-rpc + count: 98 +counter themis-get-rpc + count: 98 +counter themis-get-rpc + count: 98 +2015/11/20 10:51:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:51:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:51:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581332227883008 +2015/11/20 10:51:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:51:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:51:10 txn.go:226: [debug] start to commit txn 379581332227883008 +2015/11/20 10:51:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:51:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 99 +counter themis-get-rpc + count: 99 +counter themis-get-rpc + count: 99 +2015/11/20 10:51:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:51:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:51:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581334849323008 +2015/11/20 10:51:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:51:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581334849323009 +2015/11/20 10:51:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:51:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581334849323009 +2015/11/20 10:51:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:51:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581334849323009 +2015/11/20 10:51:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:51:20 txn.go:226: [debug] start to commit txn 379581334849323008 +2015/11/20 10:51:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:51:20 domain.go:170: [warning] reload, loop +2015/11/20 10:51:20 txn.go:226: [debug] start to commit txn 379581334849323009 +2015/11/20 10:51:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:51:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:51:20 txn.go:218: [debug] commit successfully, txn.version:379581334850633728 +counter themis-get-rpc + count: 102 +counter themis-get-rpc + count: 102 +counter themis-get-rpc + count: 102 +counter themis-get-rpc + count: 102 +2015/11/20 10:51:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:51:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:51:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581337470763008 +2015/11/20 10:51:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:51:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:51:30 txn.go:226: [debug] start to commit txn 379581337470763008 +2015/11/20 10:51:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:51:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 103 +counter themis-get-rpc + count: 103 +counter themis-get-rpc + count: 103 +2015/11/20 10:51:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:51:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:51:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581340092203008 +2015/11/20 10:51:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:51:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581340092203009 +2015/11/20 10:51:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581340092203009 +2015/11/20 10:51:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:51:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581340092203009 +2015/11/20 10:51:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:51:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:51:40 txn.go:226: [debug] start to commit txn 379581340092203008 +2015/11/20 10:51:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:51:40 domain.go:170: [warning] reload, loop +2015/11/20 10:51:40 txn.go:226: [debug] start to commit txn 379581340092203009 +2015/11/20 10:51:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:51:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:51:40 txn.go:218: [debug] commit successfully, txn.version:379581340093251584 +counter themis-get-rpc + count: 106 +counter themis-get-rpc + count: 106 +counter themis-get-rpc + count: 106 +2015/11/20 10:51:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:51:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:51:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581342713643008 +2015/11/20 10:51:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:51:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:51:50 txn.go:226: [debug] start to commit txn 379581342713643008 +2015/11/20 10:51:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:51:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 107 +counter themis-get-rpc + count: 107 +counter themis-get-rpc + count: 107 +counter themis-get-rpc + count: 107 +2015/11/20 10:52:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:52:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:52:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581345335083008 +2015/11/20 10:52:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:52:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581345335083009 +2015/11/20 10:52:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:52:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581345335083008 +2015/11/20 10:52:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:52:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581345335083008 +2015/11/20 10:52:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:52:00 txn.go:226: [debug] start to commit txn 379581345335083009 +2015/11/20 10:52:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:52:00 domain.go:170: [warning] reload, loop +2015/11/20 10:52:00 txn.go:226: [debug] start to commit txn 379581345335083008 +2015/11/20 10:52:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:52:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:52:00 txn.go:218: [debug] commit successfully, txn.version:379581345336655872 +counter themis-get-rpc + count: 110 +counter themis-get-rpc + count: 110 +counter themis-get-rpc + count: 110 +2015/11/20 10:52:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:52:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:52:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581347956523008 +2015/11/20 10:52:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:52:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:52:10 txn.go:226: [debug] start to commit txn 379581347956523008 +2015/11/20 10:52:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:52:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 111 +counter themis-get-rpc + count: 111 +counter themis-get-rpc + count: 111 +2015/11/20 10:52:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:52:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:52:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581350577963008 +2015/11/20 10:52:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:52:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581350577963009 +2015/11/20 10:52:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:52:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:52:20 txn.go:226: [debug] start to commit txn 379581350577963008 +2015/11/20 10:52:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:52:20 domain.go:170: [warning] reload, loop +2015/11/20 10:52:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581350577963009 +2015/11/20 10:52:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:52:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581350577963009 +2015/11/20 10:52:20 txn.go:226: [debug] start to commit txn 379581350577963009 +2015/11/20 10:52:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:52:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:52:20 txn.go:218: [debug] commit successfully, txn.version:379581350579011584 +counter themis-get-rpc + count: 114 +counter themis-get-rpc + count: 114 +counter themis-get-rpc + count: 114 +counter themis-get-rpc + count: 114 +2015/11/20 10:52:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:52:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:52:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581353199403008 +2015/11/20 10:52:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:52:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:52:30 txn.go:226: [debug] start to commit txn 379581353199403008 +2015/11/20 10:52:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:52:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 115 +counter themis-get-rpc + count: 115 +counter themis-get-rpc + count: 115 +2015/11/20 10:52:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:52:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:52:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581355820843008 +2015/11/20 10:52:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:52:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581355820843009 +2015/11/20 10:52:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:52:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:52:40 txn.go:226: [debug] start to commit txn 379581355820843008 +2015/11/20 10:52:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:52:40 domain.go:170: [warning] reload, loop +2015/11/20 10:52:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581355820843009 +2015/11/20 10:52:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:52:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581355820843009 +2015/11/20 10:52:40 txn.go:226: [debug] start to commit txn 379581355820843009 +2015/11/20 10:52:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:52:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:52:40 txn.go:218: [debug] commit successfully, txn.version:379581355822153728 +counter themis-get-rpc + count: 118 +counter themis-get-rpc + count: 118 +counter themis-get-rpc + count: 118 +2015/11/20 10:52:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:52:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:52:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581358442283008 +2015/11/20 10:52:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:52:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:52:50 txn.go:226: [debug] start to commit txn 379581358442283008 +2015/11/20 10:52:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:52:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 119 +counter themis-get-rpc + count: 119 +counter themis-get-rpc + count: 119 +counter themis-get-rpc + count: 119 +2015/11/20 10:53:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:53:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:53:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581361063723008 +2015/11/20 10:53:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:53:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581361063723009 +2015/11/20 10:53:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:53:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:53:00 txn.go:226: [debug] start to commit txn 379581361063723008 +2015/11/20 10:53:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:53:00 domain.go:170: [warning] reload, loop +2015/11/20 10:53:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581361063723009 +2015/11/20 10:53:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:53:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581361063723009 +2015/11/20 10:53:00 txn.go:226: [debug] start to commit txn 379581361063723009 +2015/11/20 10:53:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:53:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:53:00 txn.go:218: [debug] commit successfully, txn.version:379581361065033728 +counter themis-get-rpc + count: 122 +counter themis-get-rpc + count: 122 +counter themis-get-rpc + count: 122 +2015/11/20 10:53:08 tidb.go:132: [debug] compiling show tables  +2015/11/20 10:53:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:53:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:53:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581363685163008 +2015/11/20 10:53:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:53:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:53:10 txn.go:226: [debug] start to commit txn 379581363685163008 +2015/11/20 10:53:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:53:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 123 +counter themis-get-rpc + count: 123 +counter themis-get-rpc + count: 123 +2015/11/20 10:53:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:53:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:53:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581366306603008 +2015/11/20 10:53:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:53:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581366306603009 +2015/11/20 10:53:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:53:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:53:20 txn.go:226: [debug] start to commit txn 379581366306603008 +2015/11/20 10:53:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:53:20 domain.go:170: [warning] reload, loop +2015/11/20 10:53:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581366306603009 +2015/11/20 10:53:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:53:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581366306603009 +2015/11/20 10:53:20 txn.go:226: [debug] start to commit txn 379581366306603009 +2015/11/20 10:53:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:53:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:53:20 txn.go:218: [debug] commit successfully, txn.version:379581366307651584 +counter themis-get-rpc + count: 126 +counter themis-get-rpc + count: 126 +counter themis-get-rpc + count: 126 +counter themis-get-rpc + count: 126 +2015/11/20 10:53:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:53:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:53:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581368928043008 +2015/11/20 10:53:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:53:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:53:30 txn.go:226: [debug] start to commit txn 379581368928043008 +2015/11/20 10:53:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:53:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 127 +counter themis-get-rpc + count: 127 +counter themis-get-rpc + count: 127 +2015/11/20 10:53:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:53:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:53:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581371549483008 +2015/11/20 10:53:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:53:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581371549483009 +2015/11/20 10:53:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:53:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:53:40 txn.go:226: [debug] start to commit txn 379581371549483008 +2015/11/20 10:53:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:53:40 domain.go:170: [warning] reload, loop +2015/11/20 10:53:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581371549483009 +2015/11/20 10:53:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:53:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581371549483009 +2015/11/20 10:53:40 txn.go:226: [debug] start to commit txn 379581371549483009 +2015/11/20 10:53:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:53:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:53:40 txn.go:218: [debug] commit successfully, txn.version:379581371550007296 +counter themis-get-rpc + count: 130 +counter themis-get-rpc + count: 130 +counter themis-get-rpc + count: 130 +2015/11/20 10:53:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:53:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:53:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581374170923008 +2015/11/20 10:53:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:53:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:53:50 txn.go:226: [debug] start to commit txn 379581374170923008 +2015/11/20 10:53:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:53:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 131 +counter themis-get-rpc + count: 131 +counter themis-get-rpc + count: 131 +counter themis-get-rpc + count: 131 +2015/11/20 10:54:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:54:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:54:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581376792363008 +2015/11/20 10:54:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:54:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581376792363009 +2015/11/20 10:54:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:54:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:54:00 txn.go:226: [debug] start to commit txn 379581376792363009 +2015/11/20 10:54:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:54:00 domain.go:170: [warning] reload, loop +2015/11/20 10:54:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581376792363008 +2015/11/20 10:54:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:54:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581376792363008 +2015/11/20 10:54:00 txn.go:226: [debug] start to commit txn 379581376792363008 +2015/11/20 10:54:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:54:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:54:00 txn.go:218: [debug] commit successfully, txn.version:379581376793935872 +counter themis-get-rpc + count: 134 +counter themis-get-rpc + count: 134 +counter themis-get-rpc + count: 134 +2015/11/20 10:54:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:54:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:54:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581379413803008 +2015/11/20 10:54:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:54:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:54:10 txn.go:226: [debug] start to commit txn 379581379413803008 +2015/11/20 10:54:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:54:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 135 +counter themis-get-rpc + count: 135 +counter themis-get-rpc + count: 135 +2015/11/20 10:54:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:54:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:54:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581382035243008 +2015/11/20 10:54:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:54:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581382035243009 +2015/11/20 10:54:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:54:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:54:20 txn.go:226: [debug] start to commit txn 379581382035243008 +2015/11/20 10:54:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:54:20 domain.go:170: [warning] reload, loop +2015/11/20 10:54:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581382035243009 +2015/11/20 10:54:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:54:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581382035243009 +2015/11/20 10:54:20 txn.go:226: [debug] start to commit txn 379581382035243009 +2015/11/20 10:54:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:54:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:54:20 txn.go:218: [debug] commit successfully, txn.version:379581382036553728 +counter themis-get-rpc + count: 138 +counter themis-get-rpc + count: 138 +counter themis-get-rpc + count: 138 +counter themis-get-rpc + count: 138 +2015/11/20 10:54:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:54:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:54:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581384656683008 +2015/11/20 10:54:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:54:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:54:30 txn.go:226: [debug] start to commit txn 379581384656683008 +2015/11/20 10:54:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:54:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 139 +counter themis-get-rpc + count: 139 +counter themis-get-rpc + count: 139 +2015/11/20 10:54:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:54:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:54:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:54:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581387278123009 +2015/11/20 10:54:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581387278123008 +2015/11/20 10:54:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:54:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:54:40 txn.go:226: [debug] start to commit txn 379581387278123009 +2015/11/20 10:54:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:54:40 domain.go:170: [warning] reload, loop +2015/11/20 10:54:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581387278123008 +2015/11/20 10:54:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:54:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581387278123008 +2015/11/20 10:54:40 txn.go:226: [debug] start to commit txn 379581387278123008 +2015/11/20 10:54:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:54:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:54:40 txn.go:218: [debug] commit successfully, txn.version:379581387278909440 +counter themis-get-rpc + count: 142 +counter themis-get-rpc + count: 142 +counter themis-get-rpc + count: 142 +2015/11/20 10:54:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:54:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:54:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581389899563008 +2015/11/20 10:54:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:54:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:54:50 txn.go:226: [debug] start to commit txn 379581389899563008 +2015/11/20 10:54:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:54:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 143 +counter themis-get-rpc + count: 143 +counter themis-get-rpc + count: 143 +counter themis-get-rpc + count: 143 +2015/11/20 10:55:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:55:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:55:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581392521003008 +2015/11/20 10:55:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:55:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581392521003009 +2015/11/20 10:55:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:55:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:55:00 txn.go:226: [debug] start to commit txn 379581392521003008 +2015/11/20 10:55:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:55:00 domain.go:170: [warning] reload, loop +2015/11/20 10:55:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581392521003009 +2015/11/20 10:55:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:55:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581392521003009 +2015/11/20 10:55:00 txn.go:226: [debug] start to commit txn 379581392521003009 +2015/11/20 10:55:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:55:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:55:00 txn.go:218: [debug] commit successfully, txn.version:379581392522051584 +counter themis-get-rpc + count: 146 +counter themis-get-rpc + count: 146 +counter themis-get-rpc + count: 146 +2015/11/20 10:55:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:55:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:55:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581395142443008 +2015/11/20 10:55:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:55:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:55:10 txn.go:226: [debug] start to commit txn 379581395142443008 +2015/11/20 10:55:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:55:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 147 +counter themis-get-rpc + count: 147 +counter themis-get-rpc + count: 147 +2015/11/20 10:55:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:55:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581397763883008 +2015/11/20 10:55:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:55:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:55:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581397763883009 +2015/11/20 10:55:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:55:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:55:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581397763883008 +2015/11/20 10:55:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:55:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581397763883008 +2015/11/20 10:55:20 txn.go:226: [debug] start to commit txn 379581397763883009 +2015/11/20 10:55:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:55:20 domain.go:170: [warning] reload, loop +2015/11/20 10:55:20 txn.go:226: [debug] start to commit txn 379581397763883008 +2015/11/20 10:55:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:55:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:55:20 txn.go:218: [debug] commit successfully, txn.version:379581397765455872 +counter themis-get-rpc + count: 150 +counter themis-get-rpc + count: 150 +counter themis-get-rpc + count: 150 +counter themis-get-rpc + count: 150 +2015/11/20 10:55:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:55:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:55:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581400385323008 +2015/11/20 10:55:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:55:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:55:30 txn.go:226: [debug] start to commit txn 379581400385323008 +2015/11/20 10:55:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:55:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 151 +counter themis-get-rpc + count: 151 +counter themis-get-rpc + count: 151 +2015/11/20 10:55:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:55:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:55:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581403006763008 +2015/11/20 10:55:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:55:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581403006763009 +2015/11/20 10:55:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:55:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:55:40 txn.go:226: [debug] start to commit txn 379581403006763008 +2015/11/20 10:55:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581403006763009 +2015/11/20 10:55:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:55:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581403006763009 +2015/11/20 10:55:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:55:40 domain.go:170: [warning] reload, loop +2015/11/20 10:55:40 txn.go:226: [debug] start to commit txn 379581403006763009 +2015/11/20 10:55:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:55:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:55:40 txn.go:218: [debug] commit successfully, txn.version:379581403008073728 +counter themis-get-rpc + count: 154 +counter themis-get-rpc + count: 154 +counter themis-get-rpc + count: 154 +2015/11/20 10:55:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:55:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:55:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581405628203008 +2015/11/20 10:55:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:55:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:55:50 txn.go:226: [debug] start to commit txn 379581405628203008 +2015/11/20 10:55:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:55:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 155 +counter themis-get-rpc + count: 155 +counter themis-get-rpc + count: 155 +counter themis-get-rpc + count: 155 +2015/11/20 10:56:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:56:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:56:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581408249643008 +2015/11/20 10:56:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:56:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581408249643009 +2015/11/20 10:56:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:56:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:56:00 txn.go:226: [debug] start to commit txn 379581408249643008 +2015/11/20 10:56:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581408249643009 +2015/11/20 10:56:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:56:00 domain.go:170: [warning] reload, loop +2015/11/20 10:56:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:56:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581408249643009 +2015/11/20 10:56:00 txn.go:226: [debug] start to commit txn 379581408249643009 +2015/11/20 10:56:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:56:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:56:00 txn.go:218: [debug] commit successfully, txn.version:379581408250429440 +counter themis-get-rpc + count: 158 +counter themis-get-rpc + count: 158 +counter themis-get-rpc + count: 158 +2015/11/20 10:56:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:56:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:56:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581410871083008 +2015/11/20 10:56:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:56:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:56:10 txn.go:226: [debug] start to commit txn 379581410871083008 +2015/11/20 10:56:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:56:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 159 +counter themis-get-rpc + count: 159 +counter themis-get-rpc + count: 159 +2015/11/20 10:56:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:56:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:56:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581413492523008 +2015/11/20 10:56:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:56:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581413492523009 +2015/11/20 10:56:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:56:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:56:20 txn.go:226: [debug] start to commit txn 379581413492523008 +2015/11/20 10:56:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:56:20 domain.go:170: [warning] reload, loop +2015/11/20 10:56:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581413492523009 +2015/11/20 10:56:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:56:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581413492523009 +2015/11/20 10:56:20 txn.go:226: [debug] start to commit txn 379581413492523009 +2015/11/20 10:56:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:56:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:56:20 txn.go:218: [debug] commit successfully, txn.version:379581413493571584 +counter themis-get-rpc + count: 162 +counter themis-get-rpc + count: 162 +counter themis-get-rpc + count: 162 +counter themis-get-rpc + count: 162 +2015/11/20 10:56:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:56:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:56:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581416113963008 +2015/11/20 10:56:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:56:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:56:30 txn.go:226: [debug] start to commit txn 379581416113963008 +2015/11/20 10:56:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:56:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 163 +counter themis-get-rpc + count: 163 +counter themis-get-rpc + count: 163 +2015/11/20 10:56:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:56:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:56:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581418735403008 +2015/11/20 10:56:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:56:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581418735403009 +2015/11/20 10:56:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:56:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:56:40 txn.go:226: [debug] start to commit txn 379581418735403008 +2015/11/20 10:56:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:56:40 domain.go:170: [warning] reload, loop +2015/11/20 10:56:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581418735403009 +2015/11/20 10:56:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:56:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581418735403009 +2015/11/20 10:56:40 txn.go:226: [debug] start to commit txn 379581418735403009 +2015/11/20 10:56:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:56:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:56:40 txn.go:218: [debug] commit successfully, txn.version:379581418736189440 +counter themis-get-rpc + count: 166 +counter themis-get-rpc + count: 166 +counter themis-get-rpc + count: 166 +2015/11/20 10:56:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:56:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:56:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581421356843008 +2015/11/20 10:56:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:56:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:56:50 txn.go:226: [debug] start to commit txn 379581421356843008 +2015/11/20 10:56:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:56:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 167 +counter themis-get-rpc + count: 167 +counter themis-get-rpc + count: 167 +counter themis-get-rpc + count: 167 +2015/11/20 10:57:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:57:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:57:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581423978283008 +2015/11/20 10:57:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:57:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581423978283009 +2015/11/20 10:57:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:57:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:57:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581423978283009 +2015/11/20 10:57:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:57:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581423978283009 +2015/11/20 10:57:00 txn.go:226: [debug] start to commit txn 379581423978283008 +2015/11/20 10:57:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:57:00 domain.go:170: [warning] reload, loop +2015/11/20 10:57:00 txn.go:226: [debug] start to commit txn 379581423978283009 +2015/11/20 10:57:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:57:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:57:00 txn.go:218: [debug] commit successfully, txn.version:379581423979331584 +counter themis-get-rpc + count: 170 +counter themis-get-rpc + count: 170 +counter themis-get-rpc + count: 170 +2015/11/20 10:57:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:57:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:57:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581426599723008 +2015/11/20 10:57:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:57:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:57:10 txn.go:226: [debug] start to commit txn 379581426599723008 +2015/11/20 10:57:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:57:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 171 +counter themis-get-rpc + count: 171 +counter themis-get-rpc + count: 171 +2015/11/20 10:57:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:57:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:57:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581429221163008 +2015/11/20 10:57:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:57:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581429221163009 +2015/11/20 10:57:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581429221163009 +2015/11/20 10:57:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:57:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581429221163009 +2015/11/20 10:57:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:57:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:57:20 txn.go:226: [debug] start to commit txn 379581429221163008 +2015/11/20 10:57:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:57:20 domain.go:170: [warning] reload, loop +2015/11/20 10:57:20 txn.go:226: [debug] start to commit txn 379581429221163009 +2015/11/20 10:57:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:57:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:57:20 txn.go:218: [debug] commit successfully, txn.version:379581429222473728 +counter themis-get-rpc + count: 174 +counter themis-get-rpc + count: 174 +counter themis-get-rpc + count: 174 +counter themis-get-rpc + count: 174 +2015/11/20 10:57:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:57:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:57:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581431842603008 +2015/11/20 10:57:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:57:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:57:30 txn.go:226: [debug] start to commit txn 379581431842603008 +2015/11/20 10:57:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:57:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 175 +counter themis-get-rpc + count: 175 +counter themis-get-rpc + count: 175 +2015/11/20 10:57:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:57:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:57:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581434464043008 +2015/11/20 10:57:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:57:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581434464043009 +2015/11/20 10:57:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:57:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:57:40 txn.go:226: [debug] start to commit txn 379581434464043008 +2015/11/20 10:57:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:57:40 domain.go:170: [warning] reload, loop +2015/11/20 10:57:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581434464043009 +2015/11/20 10:57:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:57:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581434464043009 +2015/11/20 10:57:40 txn.go:226: [debug] start to commit txn 379581434464043009 +2015/11/20 10:57:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:57:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:57:40 txn.go:218: [debug] commit successfully, txn.version:379581434464829440 +counter themis-get-rpc + count: 178 +counter themis-get-rpc + count: 178 +counter themis-get-rpc + count: 178 +2015/11/20 10:57:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:57:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:57:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581437085483008 +2015/11/20 10:57:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:57:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:57:50 txn.go:226: [debug] start to commit txn 379581437085483008 +2015/11/20 10:57:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:57:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 179 +counter themis-get-rpc + count: 179 +counter themis-get-rpc + count: 179 +counter themis-get-rpc + count: 179 +2015/11/20 10:58:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:58:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:58:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:58:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581439706923009 +2015/11/20 10:58:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581439706923008 +2015/11/20 10:58:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:58:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:58:00 txn.go:226: [debug] start to commit txn 379581439706923008 +2015/11/20 10:58:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:58:00 domain.go:170: [warning] reload, loop +2015/11/20 10:58:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581439706923009 +2015/11/20 10:58:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:58:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581439706923009 +2015/11/20 10:58:00 txn.go:226: [debug] start to commit txn 379581439706923009 +2015/11/20 10:58:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:58:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:58:00 txn.go:218: [debug] commit successfully, txn.version:379581439708233728 +counter themis-get-rpc + count: 182 +counter themis-get-rpc + count: 182 +counter themis-get-rpc + count: 182 +2015/11/20 10:58:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:58:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:58:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581442328363008 +2015/11/20 10:58:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:58:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:58:10 txn.go:226: [debug] start to commit txn 379581442328363008 +2015/11/20 10:58:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:58:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 183 +counter themis-get-rpc + count: 183 +counter themis-get-rpc + count: 183 +2015/11/20 10:58:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:58:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:58:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581444949803008 +2015/11/20 10:58:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:58:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581444949803009 +2015/11/20 10:58:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:58:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:58:20 txn.go:226: [debug] start to commit txn 379581444949803008 +2015/11/20 10:58:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:58:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581444949803009 +2015/11/20 10:58:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:58:20 domain.go:170: [warning] reload, loop +2015/11/20 10:58:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581444949803009 +2015/11/20 10:58:20 txn.go:226: [debug] start to commit txn 379581444949803009 +2015/11/20 10:58:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:58:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:58:20 txn.go:218: [debug] commit successfully, txn.version:379581444950589440 +counter themis-get-rpc + count: 186 +counter themis-get-rpc + count: 186 +counter themis-get-rpc + count: 186 +counter themis-get-rpc + count: 186 +2015/11/20 10:58:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:58:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:58:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581447571243008 +2015/11/20 10:58:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:58:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:58:30 txn.go:226: [debug] start to commit txn 379581447571243008 +2015/11/20 10:58:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:58:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 187 +counter themis-get-rpc + count: 187 +counter themis-get-rpc + count: 187 +2015/11/20 10:58:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:58:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:58:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581450192683008 +2015/11/20 10:58:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:58:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581450192683009 +2015/11/20 10:58:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:58:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:58:40 txn.go:226: [debug] start to commit txn 379581450192683008 +2015/11/20 10:58:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:58:40 domain.go:170: [warning] reload, loop +2015/11/20 10:58:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581450192683009 +2015/11/20 10:58:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:58:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581450192683009 +2015/11/20 10:58:40 txn.go:226: [debug] start to commit txn 379581450192683009 +2015/11/20 10:58:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:58:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:58:40 txn.go:218: [debug] commit successfully, txn.version:379581450194255872 +counter themis-get-rpc + count: 190 +counter themis-get-rpc + count: 190 +counter themis-get-rpc + count: 190 +2015/11/20 10:58:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:58:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:58:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581452814123008 +2015/11/20 10:58:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:58:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:58:50 txn.go:226: [debug] start to commit txn 379581452814123008 +2015/11/20 10:58:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:58:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 191 +counter themis-get-rpc + count: 191 +counter themis-get-rpc + count: 191 +counter themis-get-rpc + count: 191 +2015/11/20 10:59:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:59:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:59:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581455435563008 +2015/11/20 10:59:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:59:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581455435563009 +2015/11/20 10:59:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:59:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:59:00 txn.go:226: [debug] start to commit txn 379581455435563008 +2015/11/20 10:59:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:59:00 domain.go:170: [warning] reload, loop +2015/11/20 10:59:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581455435563009 +2015/11/20 10:59:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:59:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581455435563009 +2015/11/20 10:59:00 txn.go:226: [debug] start to commit txn 379581455435563009 +2015/11/20 10:59:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:59:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:59:00 txn.go:218: [debug] commit successfully, txn.version:379581455436087296 +counter themis-get-rpc + count: 194 +counter themis-get-rpc + count: 194 +counter themis-get-rpc + count: 194 +2015/11/20 10:59:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:59:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:59:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581458057003008 +2015/11/20 10:59:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:59:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:59:10 txn.go:226: [debug] start to commit txn 379581458057003008 +2015/11/20 10:59:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:59:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 195 +counter themis-get-rpc + count: 195 +counter themis-get-rpc + count: 195 +2015/11/20 10:59:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:59:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:59:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581460678443008 +2015/11/20 10:59:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:59:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581460678443009 +2015/11/20 10:59:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:59:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:59:20 txn.go:226: [debug] start to commit txn 379581460678443008 +2015/11/20 10:59:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:59:20 domain.go:170: [warning] reload, loop +2015/11/20 10:59:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581460678443009 +2015/11/20 10:59:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:59:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581460678443009 +2015/11/20 10:59:20 txn.go:226: [debug] start to commit txn 379581460678443009 +2015/11/20 10:59:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:59:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:59:20 txn.go:218: [debug] commit successfully, txn.version:379581460678967296 +counter themis-get-rpc + count: 198 +counter themis-get-rpc + count: 198 +counter themis-get-rpc + count: 198 +counter themis-get-rpc + count: 198 +2015/11/20 10:59:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:59:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:59:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581463299883008 +2015/11/20 10:59:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:59:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:59:30 txn.go:226: [debug] start to commit txn 379581463299883008 +2015/11/20 10:59:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:59:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 199 +counter themis-get-rpc + count: 199 +counter themis-get-rpc + count: 199 +2015/11/20 10:59:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:59:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:59:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581465921323008 +2015/11/20 10:59:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 10:59:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581465921323009 +2015/11/20 10:59:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:59:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:59:40 txn.go:226: [debug] start to commit txn 379581465921323008 +2015/11/20 10:59:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:59:40 domain.go:170: [warning] reload, loop +2015/11/20 10:59:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581465921323009 +2015/11/20 10:59:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 10:59:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581465921323009 +2015/11/20 10:59:40 txn.go:226: [debug] start to commit txn 379581465921323009 +2015/11/20 10:59:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 10:59:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 10:59:40 txn.go:218: [debug] commit successfully, txn.version:379581465922633728 +counter themis-get-rpc + count: 202 +counter themis-get-rpc + count: 202 +counter themis-get-rpc + count: 202 +2015/11/20 10:59:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 10:59:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 10:59:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581468542763008 +2015/11/20 10:59:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 10:59:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 10:59:50 txn.go:226: [debug] start to commit txn 379581468542763008 +2015/11/20 10:59:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 10:59:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 203 +counter themis-get-rpc + count: 203 +counter themis-get-rpc + count: 203 +counter themis-get-rpc + count: 203 +2015/11/20 11:00:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:00:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:00:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581471164203008 +2015/11/20 11:00:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:00:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581471164203009 +2015/11/20 11:00:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:00:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:00:00 txn.go:226: [debug] start to commit txn 379581471164203008 +2015/11/20 11:00:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581471164203009 +2015/11/20 11:00:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:00:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581471164203009 +2015/11/20 11:00:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:00:00 domain.go:170: [warning] reload, loop +2015/11/20 11:00:00 txn.go:226: [debug] start to commit txn 379581471164203009 +2015/11/20 11:00:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:00:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:00:00 txn.go:218: [debug] commit successfully, txn.version:379581471164989440 +counter themis-get-rpc + count: 206 +counter themis-get-rpc + count: 206 +counter themis-get-rpc + count: 206 +2015/11/20 11:00:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:00:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:00:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581473785643008 +2015/11/20 11:00:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:00:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:00:10 txn.go:226: [debug] start to commit txn 379581473785643008 +2015/11/20 11:00:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:00:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 207 +counter themis-get-rpc + count: 207 +counter themis-get-rpc + count: 207 +2015/11/20 11:00:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:00:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:00:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581476407083008 +2015/11/20 11:00:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:00:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581476407083009 +2015/11/20 11:00:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:00:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:00:20 txn.go:226: [debug] start to commit txn 379581476407083008 +2015/11/20 11:00:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581476407083009 +2015/11/20 11:00:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:00:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581476407083009 +2015/11/20 11:00:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:00:20 domain.go:170: [warning] reload, loop +2015/11/20 11:00:20 txn.go:226: [debug] start to commit txn 379581476407083009 +2015/11/20 11:00:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:00:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:00:20 txn.go:218: [debug] commit successfully, txn.version:379581476408655872 +counter themis-get-rpc + count: 210 +counter themis-get-rpc + count: 210 +counter themis-get-rpc + count: 210 +counter themis-get-rpc + count: 210 +2015/11/20 11:00:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:00:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:00:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581479028523008 +2015/11/20 11:00:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:00:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:00:30 txn.go:226: [debug] start to commit txn 379581479028523008 +2015/11/20 11:00:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:00:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 211 +counter themis-get-rpc + count: 211 +counter themis-get-rpc + count: 211 +2015/11/20 11:00:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:00:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:00:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581481649963008 +2015/11/20 11:00:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:00:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581481649963009 +2015/11/20 11:00:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:00:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:00:40 txn.go:226: [debug] start to commit txn 379581481649963008 +2015/11/20 11:00:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:00:40 domain.go:170: [warning] reload, loop +2015/11/20 11:00:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581481649963009 +2015/11/20 11:00:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:00:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581481649963009 +2015/11/20 11:00:40 txn.go:226: [debug] start to commit txn 379581481649963009 +2015/11/20 11:00:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:00:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:00:40 txn.go:218: [debug] commit successfully, txn.version:379581481651011584 +counter themis-get-rpc + count: 214 +counter themis-get-rpc + count: 214 +counter themis-get-rpc + count: 214 +2015/11/20 11:00:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:00:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:00:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581484271403008 +2015/11/20 11:00:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:00:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:00:50 txn.go:226: [debug] start to commit txn 379581484271403008 +2015/11/20 11:00:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:00:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 215 +counter themis-get-rpc + count: 215 +counter themis-get-rpc + count: 215 +counter themis-get-rpc + count: 215 +2015/11/20 11:01:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:01:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:01:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581486892843008 +2015/11/20 11:01:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:01:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581486892843009 +2015/11/20 11:01:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:01:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:01:00 txn.go:226: [debug] start to commit txn 379581486892843008 +2015/11/20 11:01:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:01:00 domain.go:170: [warning] reload, loop +2015/11/20 11:01:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581486892843009 +2015/11/20 11:01:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:01:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581486892843009 +2015/11/20 11:01:00 txn.go:226: [debug] start to commit txn 379581486892843009 +2015/11/20 11:01:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:01:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:01:00 txn.go:218: [debug] commit successfully, txn.version:379581486893629440 +counter themis-get-rpc + count: 218 +counter themis-get-rpc + count: 218 +counter themis-get-rpc + count: 218 +2015/11/20 11:01:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:01:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:01:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581489514283008 +2015/11/20 11:01:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:01:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:01:10 txn.go:226: [debug] start to commit txn 379581489514283008 +2015/11/20 11:01:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:01:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 219 +counter themis-get-rpc + count: 219 +counter themis-get-rpc + count: 219 +2015/11/20 11:01:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:01:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:01:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581492135723008 +2015/11/20 11:01:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:01:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581492135723009 +2015/11/20 11:01:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:01:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:01:20 txn.go:226: [debug] start to commit txn 379581492135723008 +2015/11/20 11:01:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581492135723009 +2015/11/20 11:01:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:01:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581492135723009 +2015/11/20 11:01:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:01:20 domain.go:170: [warning] reload, loop +2015/11/20 11:01:20 txn.go:226: [debug] start to commit txn 379581492135723009 +2015/11/20 11:01:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:01:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:01:20 txn.go:218: [debug] commit successfully, txn.version:379581492136247296 +counter themis-get-rpc + count: 222 +counter themis-get-rpc + count: 222 +counter themis-get-rpc + count: 222 +counter themis-get-rpc + count: 222 +2015/11/20 11:01:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:01:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:01:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581494757163008 +2015/11/20 11:01:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:01:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:01:30 txn.go:226: [debug] start to commit txn 379581494757163008 +2015/11/20 11:01:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:01:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 223 +counter themis-get-rpc + count: 223 +counter themis-get-rpc + count: 223 +2015/11/20 11:01:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:01:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:01:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581497378603008 +2015/11/20 11:01:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:01:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581497378603009 +2015/11/20 11:01:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:01:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:01:40 txn.go:226: [debug] start to commit txn 379581497378603008 +2015/11/20 11:01:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:01:40 domain.go:170: [warning] reload, loop +2015/11/20 11:01:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581497378603009 +2015/11/20 11:01:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:01:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581497378603009 +2015/11/20 11:01:40 txn.go:226: [debug] start to commit txn 379581497378603009 +2015/11/20 11:01:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:01:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:01:40 txn.go:218: [debug] commit successfully, txn.version:379581497379651584 +counter themis-get-rpc + count: 226 +counter themis-get-rpc + count: 226 +counter themis-get-rpc + count: 226 +2015/11/20 11:01:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:01:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:01:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581500000043008 +2015/11/20 11:01:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:01:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:01:50 txn.go:226: [debug] start to commit txn 379581500000043008 +2015/11/20 11:01:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:01:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 227 +counter themis-get-rpc + count: 227 +counter themis-get-rpc + count: 227 +counter themis-get-rpc + count: 227 +2015/11/20 11:02:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:02:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:02:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581502621483008 +2015/11/20 11:02:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:02:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581502621483009 +2015/11/20 11:02:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:02:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:02:00 txn.go:226: [debug] start to commit txn 379581502621483008 +2015/11/20 11:02:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:02:00 domain.go:170: [warning] reload, loop +2015/11/20 11:02:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581502621483009 +2015/11/20 11:02:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:02:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581502621483009 +2015/11/20 11:02:00 txn.go:226: [debug] start to commit txn 379581502621483009 +2015/11/20 11:02:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:02:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:02:00 txn.go:218: [debug] commit successfully, txn.version:379581502623055872 +counter themis-get-rpc + count: 230 +counter themis-get-rpc + count: 230 +counter themis-get-rpc + count: 230 +2015/11/20 11:02:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:02:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:02:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581505242923008 +2015/11/20 11:02:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:02:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:02:10 txn.go:226: [debug] start to commit txn 379581505242923008 +2015/11/20 11:02:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:02:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 231 +counter themis-get-rpc + count: 231 +counter themis-get-rpc + count: 231 +2015/11/20 11:02:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:02:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:02:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581507864363008 +2015/11/20 11:02:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:02:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581507864363009 +2015/11/20 11:02:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:02:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581507864363009 +2015/11/20 11:02:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:02:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581507864363009 +2015/11/20 11:02:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:02:20 txn.go:226: [debug] start to commit txn 379581507864363008 +2015/11/20 11:02:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:02:20 domain.go:170: [warning] reload, loop +2015/11/20 11:02:20 txn.go:226: [debug] start to commit txn 379581507864363009 +2015/11/20 11:02:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:02:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:02:20 txn.go:218: [debug] commit successfully, txn.version:379581507865673728 +counter themis-get-rpc + count: 234 +counter themis-get-rpc + count: 234 +counter themis-get-rpc + count: 234 +counter themis-get-rpc + count: 234 +2015/11/20 11:02:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:02:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:02:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581510485803008 +2015/11/20 11:02:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:02:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:02:30 txn.go:226: [debug] start to commit txn 379581510485803008 +2015/11/20 11:02:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:02:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 235 +counter themis-get-rpc + count: 235 +counter themis-get-rpc + count: 235 +2015/11/20 11:02:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:02:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:02:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581513107243008 +2015/11/20 11:02:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:02:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581513107243009 +2015/11/20 11:02:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:02:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:02:40 txn.go:226: [debug] start to commit txn 379581513107243008 +2015/11/20 11:02:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:02:40 domain.go:170: [warning] reload, loop +2015/11/20 11:02:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581513107243009 +2015/11/20 11:02:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:02:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581513107243009 +2015/11/20 11:02:40 txn.go:226: [debug] start to commit txn 379581513107243009 +2015/11/20 11:02:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:02:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:02:40 txn.go:218: [debug] commit successfully, txn.version:379581513108553728 +counter themis-get-rpc + count: 238 +counter themis-get-rpc + count: 238 +counter themis-get-rpc + count: 238 +2015/11/20 11:02:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:02:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:02:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581515728683008 +2015/11/20 11:02:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:02:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:02:50 txn.go:226: [debug] start to commit txn 379581515728683008 +2015/11/20 11:02:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:02:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 239 +counter themis-get-rpc + count: 239 +counter themis-get-rpc + count: 239 +counter themis-get-rpc + count: 239 +2015/11/20 11:03:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:03:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:03:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581518350123008 +2015/11/20 11:03:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:03:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581518350123009 +2015/11/20 11:03:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:03:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:03:00 txn.go:226: [debug] start to commit txn 379581518350123008 +2015/11/20 11:03:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:03:00 domain.go:170: [warning] reload, loop +2015/11/20 11:03:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581518350123009 +2015/11/20 11:03:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:03:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581518350123009 +2015/11/20 11:03:00 txn.go:226: [debug] start to commit txn 379581518350123009 +2015/11/20 11:03:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:03:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:03:00 txn.go:218: [debug] commit successfully, txn.version:379581518351433728 +counter themis-get-rpc + count: 242 +counter themis-get-rpc + count: 242 +counter themis-get-rpc + count: 242 +2015/11/20 11:03:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:03:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:03:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581520971563008 +2015/11/20 11:03:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:03:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:03:10 txn.go:226: [debug] start to commit txn 379581520971563008 +2015/11/20 11:03:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:03:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 243 +counter themis-get-rpc + count: 243 +counter themis-get-rpc + count: 243 +2015/11/20 11:03:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:03:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:03:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581523593003008 +2015/11/20 11:03:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:03:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581523593003009 +2015/11/20 11:03:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:03:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:03:20 txn.go:226: [debug] start to commit txn 379581523593003008 +2015/11/20 11:03:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:03:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581523593003009 +2015/11/20 11:03:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:03:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581523593003009 +2015/11/20 11:03:20 domain.go:170: [warning] reload, loop +2015/11/20 11:03:20 txn.go:226: [debug] start to commit txn 379581523593003009 +2015/11/20 11:03:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:03:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:03:20 txn.go:218: [debug] commit successfully, txn.version:379581523594051584 +counter themis-get-rpc + count: 246 +counter themis-get-rpc + count: 246 +counter themis-get-rpc + count: 246 +counter themis-get-rpc + count: 246 +2015/11/20 11:03:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:03:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:03:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581526214443008 +2015/11/20 11:03:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:03:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:03:30 txn.go:226: [debug] start to commit txn 379581526214443008 +2015/11/20 11:03:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:03:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 247 +counter themis-get-rpc + count: 247 +counter themis-get-rpc + count: 247 +2015/11/20 11:03:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:03:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:03:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:03:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581528835883009 +2015/11/20 11:03:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581528835883008 +2015/11/20 11:03:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:03:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:03:40 txn.go:226: [debug] start to commit txn 379581528835883008 +2015/11/20 11:03:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:03:40 domain.go:170: [warning] reload, loop +2015/11/20 11:03:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581528835883009 +2015/11/20 11:03:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:03:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581528835883009 +2015/11/20 11:03:40 txn.go:226: [debug] start to commit txn 379581528835883009 +2015/11/20 11:03:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:03:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:03:40 txn.go:218: [debug] commit successfully, txn.version:379581528836931584 +counter themis-get-rpc + count: 250 +counter themis-get-rpc + count: 250 +counter themis-get-rpc + count: 250 +2015/11/20 11:03:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:03:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:03:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581531457323008 +2015/11/20 11:03:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:03:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:03:50 txn.go:226: [debug] start to commit txn 379581531457323008 +2015/11/20 11:03:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:03:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 251 +counter themis-get-rpc + count: 251 +counter themis-get-rpc + count: 251 +counter themis-get-rpc + count: 251 +2015/11/20 11:04:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:04:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:04:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581534078763008 +2015/11/20 11:04:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:04:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581534078763009 +2015/11/20 11:04:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:04:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:04:00 txn.go:226: [debug] start to commit txn 379581534078763008 +2015/11/20 11:04:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:04:00 domain.go:170: [warning] reload, loop +2015/11/20 11:04:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581534078763009 +2015/11/20 11:04:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:04:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581534078763009 +2015/11/20 11:04:00 txn.go:226: [debug] start to commit txn 379581534078763009 +2015/11/20 11:04:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:04:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:04:00 txn.go:218: [debug] commit successfully, txn.version:379581534079287296 +counter themis-get-rpc + count: 254 +counter themis-get-rpc + count: 254 +counter themis-get-rpc + count: 254 +2015/11/20 11:04:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:04:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:04:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581536700203008 +2015/11/20 11:04:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:04:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:04:10 txn.go:226: [debug] start to commit txn 379581536700203008 +2015/11/20 11:04:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:04:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 255 +counter themis-get-rpc + count: 255 +counter themis-get-rpc + count: 255 +2015/11/20 11:04:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:04:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:04:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581539321643008 +2015/11/20 11:04:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:04:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581539321643009 +2015/11/20 11:04:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:04:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581539321643009 +2015/11/20 11:04:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:04:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581539321643009 +2015/11/20 11:04:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:04:20 txn.go:226: [debug] start to commit txn 379581539321643008 +2015/11/20 11:04:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:04:20 domain.go:170: [warning] reload, loop +2015/11/20 11:04:20 txn.go:226: [debug] start to commit txn 379581539321643009 +2015/11/20 11:04:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:04:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:04:20 txn.go:218: [debug] commit successfully, txn.version:379581539322691584 +counter themis-get-rpc + count: 258 +counter themis-get-rpc + count: 258 +counter themis-get-rpc + count: 258 +counter themis-get-rpc + count: 258 +2015/11/20 11:04:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:04:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:04:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581541943083008 +2015/11/20 11:04:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:04:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:04:30 txn.go:226: [debug] start to commit txn 379581541943083008 +2015/11/20 11:04:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:04:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 259 +counter themis-get-rpc + count: 259 +counter themis-get-rpc + count: 259 +2015/11/20 11:04:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:04:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581544564523008 +2015/11/20 11:04:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:04:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:04:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581544564523009 +2015/11/20 11:04:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:04:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:04:40 txn.go:226: [debug] start to commit txn 379581544564523009 +2015/11/20 11:04:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:04:40 domain.go:170: [warning] reload, loop +2015/11/20 11:04:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581544564523008 +2015/11/20 11:04:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:04:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581544564523008 +2015/11/20 11:04:40 txn.go:226: [debug] start to commit txn 379581544564523008 +2015/11/20 11:04:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:04:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:04:40 txn.go:218: [debug] commit successfully, txn.version:379581544565833728 +counter themis-get-rpc + count: 262 +counter themis-get-rpc + count: 262 +counter themis-get-rpc + count: 262 +2015/11/20 11:04:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:04:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:04:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581547185963008 +2015/11/20 11:04:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:04:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:04:50 txn.go:226: [debug] start to commit txn 379581547185963008 +2015/11/20 11:04:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:04:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 263 +counter themis-get-rpc + count: 263 +counter themis-get-rpc + count: 263 +counter themis-get-rpc + count: 263 +2015/11/20 11:05:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:05:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:05:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581549807403008 +2015/11/20 11:05:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:05:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581549807403009 +2015/11/20 11:05:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:05:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:05:00 txn.go:226: [debug] start to commit txn 379581549807403008 +2015/11/20 11:05:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:05:00 domain.go:170: [warning] reload, loop +2015/11/20 11:05:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581549807403009 +2015/11/20 11:05:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:05:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581549807403009 +2015/11/20 11:05:00 txn.go:226: [debug] start to commit txn 379581549807403009 +2015/11/20 11:05:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:05:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:05:00 txn.go:218: [debug] commit successfully, txn.version:379581549808713728 +counter themis-get-rpc + count: 266 +counter themis-get-rpc + count: 266 +counter themis-get-rpc + count: 266 +2015/11/20 11:05:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:05:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:05:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581552428843008 +2015/11/20 11:05:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:05:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:05:10 txn.go:226: [debug] start to commit txn 379581552428843008 +2015/11/20 11:05:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:05:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 267 +counter themis-get-rpc + count: 267 +counter themis-get-rpc + count: 267 +2015/11/20 11:05:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:05:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:05:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:05:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581555050283008 +2015/11/20 11:05:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581555050283009 +2015/11/20 11:05:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:05:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:05:20 txn.go:226: [debug] start to commit txn 379581555050283009 +2015/11/20 11:05:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:05:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581555050283008 +2015/11/20 11:05:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:05:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581555050283008 +2015/11/20 11:05:20 domain.go:170: [warning] reload, loop +2015/11/20 11:05:20 txn.go:226: [debug] start to commit txn 379581555050283008 +2015/11/20 11:05:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:05:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:05:20 txn.go:218: [debug] commit successfully, txn.version:379581555051331584 +counter themis-get-rpc + count: 270 +counter themis-get-rpc + count: 270 +counter themis-get-rpc + count: 270 +counter themis-get-rpc + count: 270 +2015/11/20 11:05:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:05:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:05:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581557671723008 +2015/11/20 11:05:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:05:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:05:30 txn.go:226: [debug] start to commit txn 379581557671723008 +2015/11/20 11:05:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:05:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 271 +counter themis-get-rpc + count: 271 +counter themis-get-rpc + count: 271 +2015/11/20 11:05:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:05:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:05:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581560293163008 +2015/11/20 11:05:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:05:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581560293163009 +2015/11/20 11:05:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:05:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:05:40 txn.go:226: [debug] start to commit txn 379581560293163008 +2015/11/20 11:05:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:05:40 domain.go:170: [warning] reload, loop +2015/11/20 11:05:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581560293163009 +2015/11/20 11:05:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:05:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581560293163009 +2015/11/20 11:05:40 txn.go:226: [debug] start to commit txn 379581560293163009 +2015/11/20 11:05:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:05:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:05:40 txn.go:218: [debug] commit successfully, txn.version:379581560293949440 +counter themis-get-rpc + count: 274 +counter themis-get-rpc + count: 274 +counter themis-get-rpc + count: 274 +2015/11/20 11:05:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:05:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:05:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581562914603008 +2015/11/20 11:05:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:05:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:05:50 txn.go:226: [debug] start to commit txn 379581562914603008 +2015/11/20 11:05:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:05:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 275 +counter themis-get-rpc + count: 275 +counter themis-get-rpc + count: 275 +counter themis-get-rpc + count: 275 +2015/11/20 11:06:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:06:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:06:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:06:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581565536043009 +2015/11/20 11:06:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581565536043008 +2015/11/20 11:06:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:06:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:06:00 txn.go:226: [debug] start to commit txn 379581565536043008 +2015/11/20 11:06:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:06:00 domain.go:170: [warning] reload, loop +2015/11/20 11:06:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581565536043009 +2015/11/20 11:06:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:06:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581565536043009 +2015/11/20 11:06:00 txn.go:226: [debug] start to commit txn 379581565536043009 +2015/11/20 11:06:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:06:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:06:00 txn.go:218: [debug] commit successfully, txn.version:379581565537353728 +counter themis-get-rpc + count: 278 +counter themis-get-rpc + count: 278 +counter themis-get-rpc + count: 278 +2015/11/20 11:06:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:06:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:06:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581568157483008 +2015/11/20 11:06:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:06:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:06:10 txn.go:226: [debug] start to commit txn 379581568157483008 +2015/11/20 11:06:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:06:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 279 +counter themis-get-rpc + count: 279 +counter themis-get-rpc + count: 279 +2015/11/20 11:06:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:06:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:06:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581570778923008 +2015/11/20 11:06:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:06:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581570778923009 +2015/11/20 11:06:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:06:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:06:20 txn.go:226: [debug] start to commit txn 379581570778923008 +2015/11/20 11:06:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581570778923009 +2015/11/20 11:06:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:06:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581570778923009 +2015/11/20 11:06:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:06:20 domain.go:170: [warning] reload, loop +2015/11/20 11:06:20 txn.go:226: [debug] start to commit txn 379581570778923009 +2015/11/20 11:06:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:06:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:06:20 txn.go:218: [debug] commit successfully, txn.version:379581570780495872 +counter themis-get-rpc + count: 282 +counter themis-get-rpc + count: 282 +counter themis-get-rpc + count: 282 +counter themis-get-rpc + count: 282 +2015/11/20 11:06:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:06:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:06:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581573400363008 +2015/11/20 11:06:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:06:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:06:30 txn.go:226: [debug] start to commit txn 379581573400363008 +2015/11/20 11:06:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:06:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 283 +counter themis-get-rpc + count: 283 +counter themis-get-rpc + count: 283 +2015/11/20 11:06:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:06:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581576021803008 +2015/11/20 11:06:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:06:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:06:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581576021803009 +2015/11/20 11:06:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:06:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:06:40 txn.go:226: [debug] start to commit txn 379581576021803009 +2015/11/20 11:06:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:06:40 domain.go:170: [warning] reload, loop +2015/11/20 11:06:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581576021803008 +2015/11/20 11:06:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:06:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581576021803008 +2015/11/20 11:06:40 txn.go:226: [debug] start to commit txn 379581576021803008 +2015/11/20 11:06:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:06:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:06:40 txn.go:218: [debug] commit successfully, txn.version:379581576022851584 +counter themis-get-rpc + count: 286 +counter themis-get-rpc + count: 286 +counter themis-get-rpc + count: 286 +2015/11/20 11:06:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:06:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:06:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581578643243008 +2015/11/20 11:06:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:06:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:06:50 txn.go:226: [debug] start to commit txn 379581578643243008 +2015/11/20 11:06:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:06:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 287 +counter themis-get-rpc + count: 287 +counter themis-get-rpc + count: 287 +counter themis-get-rpc + count: 287 +2015/11/20 11:07:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:07:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:07:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581581264683008 +2015/11/20 11:07:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:07:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581581264683009 +2015/11/20 11:07:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:07:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:07:00 txn.go:226: [debug] start to commit txn 379581581264683008 +2015/11/20 11:07:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:07:00 domain.go:170: [warning] reload, loop +2015/11/20 11:07:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581581264683009 +2015/11/20 11:07:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:07:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581581264683009 +2015/11/20 11:07:00 txn.go:226: [debug] start to commit txn 379581581264683009 +2015/11/20 11:07:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:07:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:07:00 txn.go:218: [debug] commit successfully, txn.version:379581581265469440 +counter themis-get-rpc + count: 290 +counter themis-get-rpc + count: 290 +counter themis-get-rpc + count: 290 +2015/11/20 11:07:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:07:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:07:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581583886123008 +2015/11/20 11:07:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:07:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:07:10 txn.go:226: [debug] start to commit txn 379581583886123008 +2015/11/20 11:07:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:07:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 291 +counter themis-get-rpc + count: 291 +counter themis-get-rpc + count: 291 +2015/11/20 11:07:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:07:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581586507563008 +2015/11/20 11:07:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:07:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:07:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581586507563009 +2015/11/20 11:07:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581586507563008 +2015/11/20 11:07:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:07:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581586507563008 +2015/11/20 11:07:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:07:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:07:20 txn.go:226: [debug] start to commit txn 379581586507563009 +2015/11/20 11:07:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:07:20 domain.go:170: [warning] reload, loop +2015/11/20 11:07:20 txn.go:226: [debug] start to commit txn 379581586507563008 +2015/11/20 11:07:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:07:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:07:20 txn.go:218: [debug] commit successfully, txn.version:379581586508349440 +counter themis-get-rpc + count: 294 +counter themis-get-rpc + count: 294 +counter themis-get-rpc + count: 294 +counter themis-get-rpc + count: 294 +2015/11/20 11:07:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:07:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:07:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581589129003008 +2015/11/20 11:07:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:07:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:07:30 txn.go:226: [debug] start to commit txn 379581589129003008 +2015/11/20 11:07:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:07:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 295 +counter themis-get-rpc + count: 295 +counter themis-get-rpc + count: 295 +2015/11/20 11:07:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:07:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:07:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581591750443008 +2015/11/20 11:07:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:07:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581591750443009 +2015/11/20 11:07:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:07:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:07:40 txn.go:226: [debug] start to commit txn 379581591750443008 +2015/11/20 11:07:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:07:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581591750443009 +2015/11/20 11:07:40 domain.go:170: [warning] reload, loop +2015/11/20 11:07:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:07:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581591750443009 +2015/11/20 11:07:40 txn.go:226: [debug] start to commit txn 379581591750443009 +2015/11/20 11:07:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:07:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:07:40 txn.go:218: [debug] commit successfully, txn.version:379581591751229440 +counter themis-get-rpc + count: 298 +counter themis-get-rpc + count: 298 +counter themis-get-rpc + count: 298 +2015/11/20 11:07:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:07:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:07:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581594371883008 +2015/11/20 11:07:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:07:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:07:50 txn.go:226: [debug] start to commit txn 379581594371883008 +2015/11/20 11:07:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:07:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 299 +counter themis-get-rpc + count: 299 +counter themis-get-rpc + count: 299 +counter themis-get-rpc + count: 299 +2015/11/20 11:08:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:08:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:08:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581596993323008 +2015/11/20 11:08:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:08:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581596993323009 +2015/11/20 11:08:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:08:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:08:00 txn.go:226: [debug] start to commit txn 379581596993323008 +2015/11/20 11:08:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:08:00 domain.go:170: [warning] reload, loop +2015/11/20 11:08:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581596993323009 +2015/11/20 11:08:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:08:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581596993323009 +2015/11/20 11:08:00 txn.go:226: [debug] start to commit txn 379581596993323009 +2015/11/20 11:08:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:08:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:08:00 txn.go:218: [debug] commit successfully, txn.version:379581596994109440 +counter themis-get-rpc + count: 302 +counter themis-get-rpc + count: 302 +counter themis-get-rpc + count: 302 +2015/11/20 11:08:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:08:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:08:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581599614763008 +2015/11/20 11:08:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:08:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:08:10 txn.go:226: [debug] start to commit txn 379581599614763008 +2015/11/20 11:08:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:08:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 303 +counter themis-get-rpc + count: 303 +counter themis-get-rpc + count: 303 +2015/11/20 11:08:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:08:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:08:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581602236203008 +2015/11/20 11:08:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:08:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581602236203009 +2015/11/20 11:08:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:08:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:08:20 txn.go:226: [debug] start to commit txn 379581602236203008 +2015/11/20 11:08:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:08:20 domain.go:170: [warning] reload, loop +2015/11/20 11:08:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581602236203009 +2015/11/20 11:08:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:08:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581602236203009 +2015/11/20 11:08:20 txn.go:226: [debug] start to commit txn 379581602236203009 +2015/11/20 11:08:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:08:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:08:20 txn.go:218: [debug] commit successfully, txn.version:379581602236727296 +counter themis-get-rpc + count: 306 +counter themis-get-rpc + count: 306 +counter themis-get-rpc + count: 306 +counter themis-get-rpc + count: 306 +2015/11/20 11:08:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:08:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:08:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581604857643008 +2015/11/20 11:08:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:08:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:08:30 txn.go:226: [debug] start to commit txn 379581604857643008 +2015/11/20 11:08:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:08:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 307 +counter themis-get-rpc + count: 307 +counter themis-get-rpc + count: 307 +2015/11/20 11:08:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:08:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:08:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:08:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581607479083009 +2015/11/20 11:08:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581607479083008 +2015/11/20 11:08:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:08:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:08:40 txn.go:226: [debug] start to commit txn 379581607479083009 +2015/11/20 11:08:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:08:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581607479083008 +2015/11/20 11:08:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:08:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581607479083008 +2015/11/20 11:08:40 domain.go:170: [warning] reload, loop +2015/11/20 11:08:40 txn.go:226: [debug] start to commit txn 379581607479083008 +2015/11/20 11:08:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:08:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:08:40 txn.go:218: [debug] commit successfully, txn.version:379581607480131584 +counter themis-get-rpc + count: 310 +counter themis-get-rpc + count: 310 +counter themis-get-rpc + count: 310 +2015/11/20 11:08:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:08:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:08:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581610100523008 +2015/11/20 11:08:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:08:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:08:50 txn.go:226: [debug] start to commit txn 379581610100523008 +2015/11/20 11:08:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:08:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 311 +counter themis-get-rpc + count: 311 +counter themis-get-rpc + count: 311 +counter themis-get-rpc + count: 311 +2015/11/20 11:09:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:09:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:09:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581612721963008 +2015/11/20 11:09:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:09:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581612721963009 +2015/11/20 11:09:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:09:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:09:00 txn.go:226: [debug] start to commit txn 379581612721963008 +2015/11/20 11:09:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:09:00 domain.go:170: [warning] reload, loop +2015/11/20 11:09:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581612721963009 +2015/11/20 11:09:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:09:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581612721963009 +2015/11/20 11:09:00 txn.go:226: [debug] start to commit txn 379581612721963009 +2015/11/20 11:09:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:09:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:09:00 txn.go:218: [debug] commit successfully, txn.version:379581612722749440 +counter themis-get-rpc + count: 314 +counter themis-get-rpc + count: 314 +counter themis-get-rpc + count: 314 +2015/11/20 11:09:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:09:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:09:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581615343403008 +2015/11/20 11:09:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:09:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:09:10 txn.go:226: [debug] start to commit txn 379581615343403008 +2015/11/20 11:09:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:09:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 315 +counter themis-get-rpc + count: 315 +counter themis-get-rpc + count: 315 +2015/11/20 11:09:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:09:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:09:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581617964843008 +2015/11/20 11:09:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:09:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581617964843009 +2015/11/20 11:09:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:09:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:09:20 txn.go:226: [debug] start to commit txn 379581617964843008 +2015/11/20 11:09:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:09:20 domain.go:170: [warning] reload, loop +2015/11/20 11:09:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581617964843009 +2015/11/20 11:09:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:09:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581617964843009 +2015/11/20 11:09:20 txn.go:226: [debug] start to commit txn 379581617964843009 +2015/11/20 11:09:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:09:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:09:20 txn.go:218: [debug] commit successfully, txn.version:379581617965891584 +counter themis-get-rpc + count: 318 +counter themis-get-rpc + count: 318 +counter themis-get-rpc + count: 318 +counter themis-get-rpc + count: 318 +2015/11/20 11:09:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:09:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:09:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581620586283008 +2015/11/20 11:09:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:09:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:09:30 txn.go:226: [debug] start to commit txn 379581620586283008 +2015/11/20 11:09:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:09:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 319 +counter themis-get-rpc + count: 319 +counter themis-get-rpc + count: 319 +2015/11/20 11:09:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:09:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:09:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581623207723008 +2015/11/20 11:09:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:09:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581623207723009 +2015/11/20 11:09:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:09:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:09:40 txn.go:226: [debug] start to commit txn 379581623207723008 +2015/11/20 11:09:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:09:40 domain.go:170: [warning] reload, loop +2015/11/20 11:09:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581623207723009 +2015/11/20 11:09:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:09:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581623207723009 +2015/11/20 11:09:40 txn.go:226: [debug] start to commit txn 379581623207723009 +2015/11/20 11:09:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:09:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:09:40 txn.go:218: [debug] commit successfully, txn.version:379581623209033728 +counter themis-get-rpc + count: 322 +counter themis-get-rpc + count: 322 +counter themis-get-rpc + count: 322 +2015/11/20 11:09:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:09:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:09:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581625829163008 +2015/11/20 11:09:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:09:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:09:50 txn.go:226: [debug] start to commit txn 379581625829163008 +2015/11/20 11:09:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:09:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 323 +counter themis-get-rpc + count: 323 +counter themis-get-rpc + count: 323 +counter themis-get-rpc + count: 323 +2015/11/20 11:10:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:10:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:10:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581628450603008 +2015/11/20 11:10:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:10:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581628450603009 +2015/11/20 11:10:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:10:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:10:00 txn.go:226: [debug] start to commit txn 379581628450603008 +2015/11/20 11:10:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:10:00 domain.go:170: [warning] reload, loop +2015/11/20 11:10:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581628450603009 +2015/11/20 11:10:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:10:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581628450603009 +2015/11/20 11:10:00 txn.go:226: [debug] start to commit txn 379581628450603009 +2015/11/20 11:10:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:10:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:10:00 txn.go:218: [debug] commit successfully, txn.version:379581628451651584 +counter themis-get-rpc + count: 326 +counter themis-get-rpc + count: 326 +counter themis-get-rpc + count: 326 +2015/11/20 11:10:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:10:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:10:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581631072043008 +2015/11/20 11:10:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:10:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:10:10 txn.go:226: [debug] start to commit txn 379581631072043008 +2015/11/20 11:10:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:10:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 327 +counter themis-get-rpc + count: 327 +counter themis-get-rpc + count: 327 +2015/11/20 11:10:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:10:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:10:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581633693483008 +2015/11/20 11:10:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:10:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581633693483009 +2015/11/20 11:10:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:10:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:10:20 txn.go:226: [debug] start to commit txn 379581633693483008 +2015/11/20 11:10:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:10:20 domain.go:170: [warning] reload, loop +2015/11/20 11:10:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581633693483009 +2015/11/20 11:10:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:10:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581633693483009 +2015/11/20 11:10:20 txn.go:226: [debug] start to commit txn 379581633693483009 +2015/11/20 11:10:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:10:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:10:20 txn.go:218: [debug] commit successfully, txn.version:379581633694793728 +counter themis-get-rpc + count: 330 +counter themis-get-rpc + count: 330 +counter themis-get-rpc + count: 330 +counter themis-get-rpc + count: 330 +2015/11/20 11:10:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:10:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:10:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581636314923008 +2015/11/20 11:10:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:10:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:10:30 txn.go:226: [debug] start to commit txn 379581636314923008 +2015/11/20 11:10:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:10:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 331 +counter themis-get-rpc + count: 331 +counter themis-get-rpc + count: 331 +2015/11/20 11:10:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:10:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:10:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581638936363008 +2015/11/20 11:10:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:10:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581638936363009 +2015/11/20 11:10:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:10:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:10:40 txn.go:226: [debug] start to commit txn 379581638936363008 +2015/11/20 11:10:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:10:40 domain.go:170: [warning] reload, loop +2015/11/20 11:10:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581638936363009 +2015/11/20 11:10:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:10:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581638936363009 +2015/11/20 11:10:40 txn.go:226: [debug] start to commit txn 379581638936363009 +2015/11/20 11:10:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:10:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:10:40 txn.go:218: [debug] commit successfully, txn.version:379581638937149440 +counter themis-get-rpc + count: 334 +counter themis-get-rpc + count: 334 +counter themis-get-rpc + count: 334 +2015/11/20 11:10:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:10:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:10:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581641557803008 +2015/11/20 11:10:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:10:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:10:50 txn.go:226: [debug] start to commit txn 379581641557803008 +2015/11/20 11:10:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:10:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 335 +counter themis-get-rpc + count: 335 +counter themis-get-rpc + count: 335 +counter themis-get-rpc + count: 335 +2015/11/20 11:11:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:11:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:11:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581644179243008 +2015/11/20 11:11:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:11:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581644179243009 +2015/11/20 11:11:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581644179243009 +2015/11/20 11:11:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:11:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581644179243009 +2015/11/20 11:11:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:11:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:11:00 txn.go:226: [debug] start to commit txn 379581644179243008 +2015/11/20 11:11:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:11:00 domain.go:170: [warning] reload, loop +2015/11/20 11:11:00 txn.go:226: [debug] start to commit txn 379581644179243009 +2015/11/20 11:11:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:11:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:11:00 txn.go:218: [debug] commit successfully, txn.version:379581644180291584 +counter themis-get-rpc + count: 338 +counter themis-get-rpc + count: 338 +counter themis-get-rpc + count: 338 +2015/11/20 11:11:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:11:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:11:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581646800683008 +2015/11/20 11:11:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:11:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:11:10 txn.go:226: [debug] start to commit txn 379581646800683008 +2015/11/20 11:11:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:11:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 339 +counter themis-get-rpc + count: 339 +counter themis-get-rpc + count: 339 +2015/11/20 11:11:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:11:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:11:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581649422123008 +2015/11/20 11:11:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:11:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581649422123009 +2015/11/20 11:11:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:11:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:11:20 txn.go:226: [debug] start to commit txn 379581649422123008 +2015/11/20 11:11:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:11:20 domain.go:170: [warning] reload, loop +2015/11/20 11:11:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581649422123009 +2015/11/20 11:11:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:11:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581649422123009 +2015/11/20 11:11:20 txn.go:226: [debug] start to commit txn 379581649422123009 +2015/11/20 11:11:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:11:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:11:20 txn.go:218: [debug] commit successfully, txn.version:379581649423171584 +counter themis-get-rpc + count: 342 +counter themis-get-rpc + count: 342 +counter themis-get-rpc + count: 342 +counter themis-get-rpc + count: 342 +2015/11/20 11:11:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:11:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:11:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581652043563008 +2015/11/20 11:11:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:11:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:11:30 txn.go:226: [debug] start to commit txn 379581652043563008 +2015/11/20 11:11:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:11:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 343 +counter themis-get-rpc + count: 343 +counter themis-get-rpc + count: 343 +2015/11/20 11:11:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:11:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:11:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581654665003008 +2015/11/20 11:11:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:11:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581654665003009 +2015/11/20 11:11:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:11:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:11:40 txn.go:226: [debug] start to commit txn 379581654665003008 +2015/11/20 11:11:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:11:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581654665003009 +2015/11/20 11:11:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:11:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581654665003009 +2015/11/20 11:11:40 domain.go:170: [warning] reload, loop +2015/11/20 11:11:40 txn.go:226: [debug] start to commit txn 379581654665003009 +2015/11/20 11:11:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:11:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:11:40 txn.go:218: [debug] commit successfully, txn.version:379581654666051584 +counter themis-get-rpc + count: 346 +counter themis-get-rpc + count: 346 +counter themis-get-rpc + count: 346 +2015/11/20 11:11:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:11:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:11:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581657286443008 +2015/11/20 11:11:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:11:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:11:50 txn.go:226: [debug] start to commit txn 379581657286443008 +2015/11/20 11:11:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:11:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 347 +counter themis-get-rpc + count: 347 +counter themis-get-rpc + count: 347 +counter themis-get-rpc + count: 347 +2015/11/20 11:12:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:12:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:12:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581659907883008 +2015/11/20 11:12:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:12:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581659907883009 +2015/11/20 11:12:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:12:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:12:00 txn.go:226: [debug] start to commit txn 379581659907883008 +2015/11/20 11:12:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:12:00 domain.go:170: [warning] reload, loop +2015/11/20 11:12:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581659907883009 +2015/11/20 11:12:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:12:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581659907883009 +2015/11/20 11:12:00 txn.go:226: [debug] start to commit txn 379581659907883009 +2015/11/20 11:12:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:12:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:12:00 txn.go:218: [debug] commit successfully, txn.version:379581659909193728 +counter themis-get-rpc + count: 350 +counter themis-get-rpc + count: 350 +counter themis-get-rpc + count: 350 +2015/11/20 11:12:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:12:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:12:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581662529323008 +2015/11/20 11:12:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:12:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:12:10 txn.go:226: [debug] start to commit txn 379581662529323008 +2015/11/20 11:12:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:12:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 351 +counter themis-get-rpc + count: 351 +counter themis-get-rpc + count: 351 +2015/11/20 11:12:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:12:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:12:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581665150763008 +2015/11/20 11:12:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:12:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581665150763009 +2015/11/20 11:12:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:12:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:12:20 txn.go:226: [debug] start to commit txn 379581665150763008 +2015/11/20 11:12:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:12:20 domain.go:170: [warning] reload, loop +2015/11/20 11:12:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581665150763009 +2015/11/20 11:12:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:12:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581665150763009 +2015/11/20 11:12:20 txn.go:226: [debug] start to commit txn 379581665150763009 +2015/11/20 11:12:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:12:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:12:20 txn.go:218: [debug] commit successfully, txn.version:379581665152335872 +counter themis-get-rpc + count: 354 +counter themis-get-rpc + count: 354 +counter themis-get-rpc + count: 354 +counter themis-get-rpc + count: 354 +2015/11/20 11:12:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:12:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:12:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581667772203008 +2015/11/20 11:12:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:12:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:12:30 txn.go:226: [debug] start to commit txn 379581667772203008 +2015/11/20 11:12:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:12:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 355 +counter themis-get-rpc + count: 355 +counter themis-get-rpc + count: 355 +2015/11/20 11:12:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:12:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:12:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:12:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581670393643008 +2015/11/20 11:12:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581670393643009 +2015/11/20 11:12:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:12:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581670393643008 +2015/11/20 11:12:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:12:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581670393643008 +2015/11/20 11:12:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:12:40 txn.go:226: [debug] start to commit txn 379581670393643009 +2015/11/20 11:12:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:12:40 domain.go:170: [warning] reload, loop +2015/11/20 11:12:40 txn.go:226: [debug] start to commit txn 379581670393643008 +2015/11/20 11:12:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:12:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:12:40 txn.go:218: [debug] commit successfully, txn.version:379581670395478016 +counter themis-get-rpc + count: 358 +counter themis-get-rpc + count: 358 +counter themis-get-rpc + count: 358 +2015/11/20 11:12:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:12:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:12:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581673015083008 +2015/11/20 11:12:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:12:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:12:50 txn.go:226: [debug] start to commit txn 379581673015083008 +2015/11/20 11:12:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:12:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 359 +counter themis-get-rpc + count: 359 +counter themis-get-rpc + count: 359 +counter themis-get-rpc + count: 359 +2015/11/20 11:13:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:13:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:13:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581675636523008 +2015/11/20 11:13:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:13:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581675636523009 +2015/11/20 11:13:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:13:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:13:00 txn.go:226: [debug] start to commit txn 379581675636523008 +2015/11/20 11:13:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:13:00 domain.go:170: [warning] reload, loop +2015/11/20 11:13:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581675636523009 +2015/11/20 11:13:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:13:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581675636523009 +2015/11/20 11:13:00 txn.go:226: [debug] start to commit txn 379581675636523009 +2015/11/20 11:13:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:13:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:13:00 txn.go:218: [debug] commit successfully, txn.version:379581675637833728 +counter themis-get-rpc + count: 362 +counter themis-get-rpc + count: 362 +counter themis-get-rpc + count: 362 +2015/11/20 11:13:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:13:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:13:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581678257963008 +2015/11/20 11:13:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:13:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:13:10 txn.go:226: [debug] start to commit txn 379581678257963008 +2015/11/20 11:13:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:13:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 363 +counter themis-get-rpc + count: 363 +counter themis-get-rpc + count: 363 +2015/11/20 11:13:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:13:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581680879403008 +2015/11/20 11:13:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:13:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:13:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581680879403009 +2015/11/20 11:13:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:13:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:13:20 txn.go:226: [debug] start to commit txn 379581680879403009 +2015/11/20 11:13:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:13:20 domain.go:170: [warning] reload, loop +2015/11/20 11:13:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581680879403008 +2015/11/20 11:13:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:13:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581680879403008 +2015/11/20 11:13:20 txn.go:226: [debug] start to commit txn 379581680879403008 +2015/11/20 11:13:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:13:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:13:20 txn.go:218: [debug] commit successfully, txn.version:379581680880451584 +counter themis-get-rpc + count: 366 +counter themis-get-rpc + count: 366 +counter themis-get-rpc + count: 366 +counter themis-get-rpc + count: 366 +2015/11/20 11:13:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:13:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:13:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581683500843008 +2015/11/20 11:13:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:13:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:13:30 txn.go:226: [debug] start to commit txn 379581683500843008 +2015/11/20 11:13:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:13:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 367 +counter themis-get-rpc + count: 367 +counter themis-get-rpc + count: 367 +2015/11/20 11:13:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:13:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:13:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:13:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581686122283009 +2015/11/20 11:13:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581686122283008 +2015/11/20 11:13:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:13:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581686122283008 +2015/11/20 11:13:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:13:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581686122283008 +2015/11/20 11:13:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:13:40 txn.go:226: [debug] start to commit txn 379581686122283009 +2015/11/20 11:13:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:13:40 domain.go:170: [warning] reload, loop +2015/11/20 11:13:40 txn.go:226: [debug] start to commit txn 379581686122283008 +2015/11/20 11:13:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:13:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:13:40 txn.go:218: [debug] commit successfully, txn.version:379581686123593728 +counter themis-get-rpc + count: 370 +counter themis-get-rpc + count: 370 +counter themis-get-rpc + count: 370 +2015/11/20 11:13:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:13:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:13:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581688743723008 +2015/11/20 11:13:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:13:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:13:50 txn.go:226: [debug] start to commit txn 379581688743723008 +2015/11/20 11:13:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:13:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 371 +counter themis-get-rpc + count: 371 +counter themis-get-rpc + count: 371 +counter themis-get-rpc + count: 371 +2015/11/20 11:14:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:14:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:14:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:14:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581691365163008 +2015/11/20 11:14:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581691365163009 +2015/11/20 11:14:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:14:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:14:00 txn.go:226: [debug] start to commit txn 379581691365163009 +2015/11/20 11:14:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:14:00 domain.go:170: [warning] reload, loop +2015/11/20 11:14:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581691365163008 +2015/11/20 11:14:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:14:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581691365163008 +2015/11/20 11:14:00 txn.go:226: [debug] start to commit txn 379581691365163008 +2015/11/20 11:14:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:14:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:14:00 txn.go:218: [debug] commit successfully, txn.version:379581691366211584 +counter themis-get-rpc + count: 374 +counter themis-get-rpc + count: 374 +counter themis-get-rpc + count: 374 +2015/11/20 11:14:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:14:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:14:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581693986603008 +2015/11/20 11:14:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:14:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:14:10 txn.go:226: [debug] start to commit txn 379581693986603008 +2015/11/20 11:14:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:14:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 375 +counter themis-get-rpc + count: 375 +counter themis-get-rpc + count: 375 +2015/11/20 11:14:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:14:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:14:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581696608043008 +2015/11/20 11:14:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:14:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581696608043009 +2015/11/20 11:14:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:14:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:14:20 txn.go:226: [debug] start to commit txn 379581696608043008 +2015/11/20 11:14:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:14:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581696608043009 +2015/11/20 11:14:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:14:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581696608043009 +2015/11/20 11:14:20 domain.go:170: [warning] reload, loop +2015/11/20 11:14:20 txn.go:226: [debug] start to commit txn 379581696608043009 +2015/11/20 11:14:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:14:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:14:20 txn.go:218: [debug] commit successfully, txn.version:379581696609615872 +counter themis-get-rpc + count: 378 +counter themis-get-rpc + count: 378 +counter themis-get-rpc + count: 378 +counter themis-get-rpc + count: 378 +2015/11/20 11:14:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:14:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:14:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581699229483008 +2015/11/20 11:14:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:14:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:14:30 txn.go:226: [debug] start to commit txn 379581699229483008 +2015/11/20 11:14:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:14:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 379 +counter themis-get-rpc + count: 379 +counter themis-get-rpc + count: 379 +2015/11/20 11:14:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:14:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:14:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581701850923008 +2015/11/20 11:14:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:14:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581701850923009 +2015/11/20 11:14:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:14:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:14:40 txn.go:226: [debug] start to commit txn 379581701850923008 +2015/11/20 11:14:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:14:40 domain.go:170: [warning] reload, loop +2015/11/20 11:14:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581701850923009 +2015/11/20 11:14:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:14:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581701850923009 +2015/11/20 11:14:40 txn.go:226: [debug] start to commit txn 379581701850923009 +2015/11/20 11:14:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:14:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:14:40 txn.go:218: [debug] commit successfully, txn.version:379581701851709440 +counter themis-get-rpc + count: 382 +counter themis-get-rpc + count: 382 +counter themis-get-rpc + count: 382 +2015/11/20 11:14:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:14:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:14:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581704472363008 +2015/11/20 11:14:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:14:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:14:50 txn.go:226: [debug] start to commit txn 379581704472363008 +2015/11/20 11:14:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:14:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 383 +counter themis-get-rpc + count: 383 +counter themis-get-rpc + count: 383 +counter themis-get-rpc + count: 383 +2015/11/20 11:15:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:15:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:15:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:15:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581707093803009 +2015/11/20 11:15:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581707093803008 +2015/11/20 11:15:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:15:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:15:00 txn.go:226: [debug] start to commit txn 379581707093803008 +2015/11/20 11:15:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:15:00 domain.go:170: [warning] reload, loop +2015/11/20 11:15:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581707093803009 +2015/11/20 11:15:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:15:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581707093803009 +2015/11/20 11:15:00 txn.go:226: [debug] start to commit txn 379581707093803009 +2015/11/20 11:15:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:15:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:15:00 txn.go:218: [debug] commit successfully, txn.version:379581707096424448 +counter themis-get-rpc + count: 386 +counter themis-get-rpc + count: 386 +counter themis-get-rpc + count: 386 +2015/11/20 11:15:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:15:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:15:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581709715243008 +2015/11/20 11:15:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:15:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:15:10 txn.go:226: [debug] start to commit txn 379581709715243008 +2015/11/20 11:15:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:15:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 387 +counter themis-get-rpc + count: 387 +counter themis-get-rpc + count: 387 +2015/11/20 11:15:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:15:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:15:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:15:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581712336683009 +2015/11/20 11:15:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581712336683008 +2015/11/20 11:15:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:15:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:15:20 txn.go:226: [debug] start to commit txn 379581712336683009 +2015/11/20 11:15:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:15:20 domain.go:170: [warning] reload, loop +2015/11/20 11:15:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581712336683008 +2015/11/20 11:15:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:15:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581712336683008 +2015/11/20 11:15:20 txn.go:226: [debug] start to commit txn 379581712336683008 +2015/11/20 11:15:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:15:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:15:20 txn.go:218: [debug] commit successfully, txn.version:379581712337993728 +counter themis-get-rpc + count: 390 +counter themis-get-rpc + count: 390 +counter themis-get-rpc + count: 390 +counter themis-get-rpc + count: 390 +2015/11/20 11:15:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:15:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:15:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581714958123008 +2015/11/20 11:15:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:15:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:15:30 txn.go:226: [debug] start to commit txn 379581714958123008 +2015/11/20 11:15:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:15:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 391 +counter themis-get-rpc + count: 391 +counter themis-get-rpc + count: 391 +2015/11/20 11:15:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:15:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:15:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581717579563008 +2015/11/20 11:15:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:15:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581717579563009 +2015/11/20 11:15:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:15:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:15:40 txn.go:226: [debug] start to commit txn 379581717579563008 +2015/11/20 11:15:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:15:40 domain.go:170: [warning] reload, loop +2015/11/20 11:15:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581717579563009 +2015/11/20 11:15:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:15:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581717579563009 +2015/11/20 11:15:40 txn.go:226: [debug] start to commit txn 379581717579563009 +2015/11/20 11:15:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:15:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:15:40 txn.go:218: [debug] commit successfully, txn.version:379581717580873728 +counter themis-get-rpc + count: 394 +counter themis-get-rpc + count: 394 +counter themis-get-rpc + count: 394 +2015/11/20 11:15:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:15:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:15:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581720201003008 +2015/11/20 11:15:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:15:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:15:50 txn.go:226: [debug] start to commit txn 379581720201003008 +2015/11/20 11:15:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:15:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 395 +counter themis-get-rpc + count: 395 +counter themis-get-rpc + count: 395 +counter themis-get-rpc + count: 395 +2015/11/20 11:16:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:16:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:16:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:16:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581722822443009 +2015/11/20 11:16:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581722822443008 +2015/11/20 11:16:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:16:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:16:00 txn.go:226: [debug] start to commit txn 379581722822443009 +2015/11/20 11:16:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:16:00 domain.go:170: [warning] reload, loop +2015/11/20 11:16:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581722822443008 +2015/11/20 11:16:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:16:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581722822443008 +2015/11/20 11:16:00 txn.go:226: [debug] start to commit txn 379581722822443008 +2015/11/20 11:16:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:16:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:16:00 txn.go:218: [debug] commit successfully, txn.version:379581722823491584 +counter themis-get-rpc + count: 398 +counter themis-get-rpc + count: 398 +counter themis-get-rpc + count: 398 +2015/11/20 11:16:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:16:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:16:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581725443883008 +2015/11/20 11:16:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:16:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:16:10 txn.go:226: [debug] start to commit txn 379581725443883008 +2015/11/20 11:16:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:16:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 399 +counter themis-get-rpc + count: 399 +counter themis-get-rpc + count: 399 +2015/11/20 11:16:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:16:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:16:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581728065323008 +2015/11/20 11:16:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:16:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581728065323009 +2015/11/20 11:16:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:16:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:16:20 txn.go:226: [debug] start to commit txn 379581728065323008 +2015/11/20 11:16:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:16:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581728065323009 +2015/11/20 11:16:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:16:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581728065323009 +2015/11/20 11:16:20 domain.go:170: [warning] reload, loop +2015/11/20 11:16:20 txn.go:226: [debug] start to commit txn 379581728065323009 +2015/11/20 11:16:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:16:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:16:20 txn.go:218: [debug] commit successfully, txn.version:379581728066633728 +counter themis-get-rpc + count: 402 +counter themis-get-rpc + count: 402 +counter themis-get-rpc + count: 402 +counter themis-get-rpc + count: 402 +2015/11/20 11:16:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:16:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:16:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581730686763008 +2015/11/20 11:16:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:16:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:16:30 txn.go:226: [debug] start to commit txn 379581730686763008 +2015/11/20 11:16:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:16:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 403 +counter themis-get-rpc + count: 403 +counter themis-get-rpc + count: 403 +2015/11/20 11:16:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:16:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:16:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581733308203008 +2015/11/20 11:16:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:16:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581733308203009 +2015/11/20 11:16:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:16:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:16:40 txn.go:226: [debug] start to commit txn 379581733308203008 +2015/11/20 11:16:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:16:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581733308203009 +2015/11/20 11:16:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:16:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581733308203009 +2015/11/20 11:16:40 domain.go:170: [warning] reload, loop +2015/11/20 11:16:40 txn.go:226: [debug] start to commit txn 379581733308203009 +2015/11/20 11:16:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:16:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:16:40 txn.go:218: [debug] commit successfully, txn.version:379581733309513728 +counter themis-get-rpc + count: 406 +counter themis-get-rpc + count: 406 +counter themis-get-rpc + count: 406 +2015/11/20 11:16:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:16:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:16:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581735929643008 +2015/11/20 11:16:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:16:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:16:50 txn.go:226: [debug] start to commit txn 379581735929643008 +2015/11/20 11:16:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:16:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 407 +counter themis-get-rpc + count: 407 +counter themis-get-rpc + count: 407 +counter themis-get-rpc + count: 407 +2015/11/20 11:17:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:17:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:17:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:17:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581738551083008 +2015/11/20 11:17:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581738551083009 +2015/11/20 11:17:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:17:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:17:00 txn.go:226: [debug] start to commit txn 379581738551083009 +2015/11/20 11:17:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:17:00 domain.go:170: [warning] reload, loop +2015/11/20 11:17:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581738551083008 +2015/11/20 11:17:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:17:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581738551083008 +2015/11/20 11:17:00 txn.go:226: [debug] start to commit txn 379581738551083008 +2015/11/20 11:17:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:17:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:17:00 txn.go:218: [debug] commit successfully, txn.version:379581738552393728 +counter themis-get-rpc + count: 410 +counter themis-get-rpc + count: 410 +counter themis-get-rpc + count: 410 +2015/11/20 11:17:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:17:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:17:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581741172523008 +2015/11/20 11:17:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:17:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:17:10 txn.go:226: [debug] start to commit txn 379581741172523008 +2015/11/20 11:17:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:17:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 411 +counter themis-get-rpc + count: 411 +counter themis-get-rpc + count: 411 +2015/11/20 11:17:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:17:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:17:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581743793963008 +2015/11/20 11:17:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:17:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581743793963009 +2015/11/20 11:17:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:17:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:17:20 txn.go:226: [debug] start to commit txn 379581743793963008 +2015/11/20 11:17:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:17:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581743793963009 +2015/11/20 11:17:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:17:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581743793963009 +2015/11/20 11:17:20 domain.go:170: [warning] reload, loop +2015/11/20 11:17:20 txn.go:226: [debug] start to commit txn 379581743793963009 +2015/11/20 11:17:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:17:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:17:20 txn.go:218: [debug] commit successfully, txn.version:379581743795011584 +counter themis-get-rpc + count: 414 +counter themis-get-rpc + count: 414 +counter themis-get-rpc + count: 414 +counter themis-get-rpc + count: 414 +2015/11/20 11:17:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:17:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:17:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581746415403008 +2015/11/20 11:17:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:17:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:17:30 txn.go:226: [debug] start to commit txn 379581746415403008 +2015/11/20 11:17:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:17:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 415 +counter themis-get-rpc + count: 415 +counter themis-get-rpc + count: 415 +2015/11/20 11:17:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:17:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:17:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581749036843008 +2015/11/20 11:17:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:17:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581749036843009 +2015/11/20 11:17:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:17:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:17:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581749036843009 +2015/11/20 11:17:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:17:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581749036843009 +2015/11/20 11:17:40 txn.go:226: [debug] start to commit txn 379581749036843008 +2015/11/20 11:17:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:17:40 domain.go:170: [warning] reload, loop +2015/11/20 11:17:40 txn.go:226: [debug] start to commit txn 379581749036843009 +2015/11/20 11:17:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:17:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:17:40 txn.go:218: [debug] commit successfully, txn.version:379581749038415872 +counter themis-get-rpc + count: 418 +counter themis-get-rpc + count: 418 +counter themis-get-rpc + count: 418 +2015/11/20 11:17:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:17:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:17:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581751658283008 +2015/11/20 11:17:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:17:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:17:50 txn.go:226: [debug] start to commit txn 379581751658283008 +2015/11/20 11:17:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:17:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 419 +counter themis-get-rpc + count: 419 +counter themis-get-rpc + count: 419 +counter themis-get-rpc + count: 419 +2015/11/20 11:18:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:18:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:18:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:18:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581754279723009 +2015/11/20 11:18:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581754279723008 +2015/11/20 11:18:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:18:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:18:00 txn.go:226: [debug] start to commit txn 379581754279723009 +2015/11/20 11:18:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581754279723008 +2015/11/20 11:18:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:18:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581754279723008 +2015/11/20 11:18:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:18:00 domain.go:170: [warning] reload, loop +2015/11/20 11:18:00 txn.go:226: [debug] start to commit txn 379581754279723008 +2015/11/20 11:18:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:18:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:18:00 txn.go:218: [debug] commit successfully, txn.version:379581754281295872 +counter themis-get-rpc + count: 422 +counter themis-get-rpc + count: 422 +counter themis-get-rpc + count: 422 +2015/11/20 11:18:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:18:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:18:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581756901163008 +2015/11/20 11:18:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:18:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:18:10 txn.go:226: [debug] start to commit txn 379581756901163008 +2015/11/20 11:18:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:18:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 423 +counter themis-get-rpc + count: 423 +counter themis-get-rpc + count: 423 +2015/11/20 11:18:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:18:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:18:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581759522603008 +2015/11/20 11:18:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:18:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581759522603009 +2015/11/20 11:18:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:18:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:18:20 txn.go:226: [debug] start to commit txn 379581759522603008 +2015/11/20 11:18:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:18:20 domain.go:170: [warning] reload, loop +2015/11/20 11:18:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581759522603009 +2015/11/20 11:18:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:18:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581759522603009 +2015/11/20 11:18:20 txn.go:226: [debug] start to commit txn 379581759522603009 +2015/11/20 11:18:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:18:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:18:20 txn.go:218: [debug] commit successfully, txn.version:379581759523389440 +counter themis-get-rpc + count: 426 +counter themis-get-rpc + count: 426 +counter themis-get-rpc + count: 426 +counter themis-get-rpc + count: 426 +2015/11/20 11:18:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:18:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:18:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581762144043008 +2015/11/20 11:18:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:18:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:18:30 txn.go:226: [debug] start to commit txn 379581762144043008 +2015/11/20 11:18:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:18:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 427 +counter themis-get-rpc + count: 427 +counter themis-get-rpc + count: 427 +2015/11/20 11:18:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:18:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:18:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581764765483009 +2015/11/20 11:18:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:18:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581764765483008 +2015/11/20 11:18:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:18:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:18:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581764765483009 +2015/11/20 11:18:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:18:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581764765483009 +2015/11/20 11:18:40 txn.go:226: [debug] start to commit txn 379581764765483008 +2015/11/20 11:18:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:18:40 domain.go:170: [warning] reload, loop +2015/11/20 11:18:40 txn.go:226: [debug] start to commit txn 379581764765483009 +2015/11/20 11:18:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:18:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:18:40 txn.go:218: [debug] commit successfully, txn.version:379581764767055872 +counter themis-get-rpc + count: 430 +counter themis-get-rpc + count: 430 +counter themis-get-rpc + count: 430 +2015/11/20 11:18:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:18:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:18:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581767386923008 +2015/11/20 11:18:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:18:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:18:50 txn.go:226: [debug] start to commit txn 379581767386923008 +2015/11/20 11:18:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:18:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 431 +counter themis-get-rpc + count: 431 +counter themis-get-rpc + count: 431 +counter themis-get-rpc + count: 431 +2015/11/20 11:19:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:19:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:19:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:19:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581770008363009 +2015/11/20 11:19:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581770008363008 +2015/11/20 11:19:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:19:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:19:00 txn.go:226: [debug] start to commit txn 379581770008363008 +2015/11/20 11:19:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:19:00 domain.go:170: [warning] reload, loop +2015/11/20 11:19:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581770008363009 +2015/11/20 11:19:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:19:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581770008363009 +2015/11/20 11:19:00 txn.go:226: [debug] start to commit txn 379581770008363009 +2015/11/20 11:19:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:19:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:19:00 txn.go:218: [debug] commit successfully, txn.version:379581770009411584 +counter themis-get-rpc + count: 434 +counter themis-get-rpc + count: 434 +counter themis-get-rpc + count: 434 +2015/11/20 11:19:10 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:19:10 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:19:10 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581772629803008 +2015/11/20 11:19:10 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:19:10 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:19:10 txn.go:226: [debug] start to commit txn 379581772629803008 +2015/11/20 11:19:10 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:19:10 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 435 +counter themis-get-rpc + count: 435 +counter themis-get-rpc + count: 435 +2015/11/20 11:19:20 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:19:20 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:19:20 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581775251243008 +2015/11/20 11:19:20 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:19:20 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581775251243009 +2015/11/20 11:19:20 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:19:20 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581775251243009 +2015/11/20 11:19:20 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:19:20 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581775251243009 +2015/11/20 11:19:20 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:19:20 txn.go:226: [debug] start to commit txn 379581775251243008 +2015/11/20 11:19:20 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:19:20 domain.go:170: [warning] reload, loop +2015/11/20 11:19:20 txn.go:226: [debug] start to commit txn 379581775251243009 +2015/11/20 11:19:20 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:19:20 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:19:20 txn.go:218: [debug] commit successfully, txn.version:379581775252291584 +counter themis-get-rpc + count: 438 +counter themis-get-rpc + count: 438 +counter themis-get-rpc + count: 438 +counter themis-get-rpc + count: 438 +2015/11/20 11:19:30 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:19:30 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:19:30 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581777872683008 +2015/11/20 11:19:30 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:19:30 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:19:30 txn.go:226: [debug] start to commit txn 379581777872683008 +2015/11/20 11:19:30 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:19:30 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 439 +counter themis-get-rpc + count: 439 +counter themis-get-rpc + count: 439 +2015/11/20 11:19:40 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:19:40 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:19:40 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581780494123008 +2015/11/20 11:19:40 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:19:40 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581780494123009 +2015/11/20 11:19:40 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:19:40 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:19:40 txn.go:226: [debug] start to commit txn 379581780494123008 +2015/11/20 11:19:40 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:19:40 domain.go:170: [warning] reload, loop +2015/11/20 11:19:40 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581780494123009 +2015/11/20 11:19:40 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:19:40 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581780494123009 +2015/11/20 11:19:40 txn.go:226: [debug] start to commit txn 379581780494123009 +2015/11/20 11:19:40 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:19:40 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:19:40 txn.go:218: [debug] commit successfully, txn.version:379581780495433728 +counter themis-get-rpc + count: 442 +counter themis-get-rpc + count: 442 +counter themis-get-rpc + count: 442 +2015/11/20 11:19:50 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:19:50 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:19:50 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581783115563008 +2015/11/20 11:19:50 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:19:50 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:19:50 txn.go:226: [debug] start to commit txn 379581783115563008 +2015/11/20 11:19:50 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:19:50 domain.go:170: [warning] reload, loop +counter themis-get-rpc + count: 443 +counter themis-get-rpc + count: 443 +counter themis-get-rpc + count: 443 +counter themis-get-rpc + count: 443 +2015/11/20 11:20:00 worker.go:284: [debug] wait 20s to check DDL status again +2015/11/20 11:20:00 domain.go:173: [warning] reload, lease:10s +2015/11/20 11:20:00 domain.go:43: [info] loadInfoSchema start +2015/11/20 11:20:00 txn.go:99: [debug] get key:"\x00mDDLOwner\x00\x01\x11s", txn:379581785737003008 +2015/11/20 11:20:00 txn.go:99: [debug] get key:"\x00mSchemaVersionKey\x00\x01\x11s", txn:379581785737003009 +2015/11/20 11:20:00 domain.go:50: [info] loadInfoSchema get +2015/11/20 11:20:00 domain.go:53: [debug] schema version is still 39, no need reload +2015/11/20 11:20:00 txn.go:226: [debug] start to commit txn 379581785737003009 +2015/11/20 11:20:00 txn.go:218: [debug] commit successfully, txn.version:0 +2015/11/20 11:20:00 txn.go:148: [debug] set key:"\x00mDDLOwner\x00\x01\x11s", txn:379581785737003008 +2015/11/20 11:20:00 worker.go:132: [debug] become owner f7db196b-53be-4896-b5af-8218ef34fccd +2015/11/20 11:20:00 domain.go:170: [warning] reload, loop +2015/11/20 11:20:00 txn.go:99: [debug] get key:"\x00mDDLJobList\x00\x01\x11L", txn:379581785737003008 +2015/11/20 11:20:00 txn.go:226: [debug] start to commit txn 379581785737003008 +2015/11/20 11:20:00 transaction.go:585: [info] batchPrewriteSecondaries  +2015/11/20 11:20:00 transaction.go:220: [info] batch commit secondary  +2015/11/20 11:20:00 txn.go:218: [debug] commit successfully, txn.version:379581785738838016 +counter themis-get-rpc + count: 446 diff --git a/tidb-server/server/util_test.go b/tidb-server/server/util_test.go index b5d1cb454b..8f02370264 100644 --- a/tidb-server/server/util_test.go +++ b/tidb-server/server/util_test.go @@ -16,6 +16,7 @@ package server import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testUtilSuite{}) @@ -24,6 +25,7 @@ type testUtilSuite struct { } func (s *testUtilSuite) TestDumpBinaryTime(c *C) { + defer testleak.AfterTest(c)() t, err := mysql.ParseTimestamp("0000-00-00 00:00:00.0000000") c.Assert(err, IsNil) d := dumpBinaryDateTime(t, nil) diff --git a/tidb_test.go b/tidb_test.go index fcf648a620..c259d26e15 100644 --- a/tidb_test.go +++ b/tidb_test.go @@ -29,6 +29,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/ast" "github.com/pingcap/tidb/kv" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -58,6 +59,7 @@ func (s *brokenStore) Open(schema string) (kv.Storage, error) { } func (s *testMainSuite) SetUpSuite(c *C) { + testleak.BeforeTest() s.dbName = "test_main_db" s.createDBSQL = fmt.Sprintf("create database if not exists %s;", s.dbName) s.dropDBSQL = fmt.Sprintf("drop database %s;", s.dbName) @@ -73,6 +75,7 @@ func (s *testMainSuite) SetUpSuite(c *C) { } func (s *testMainSuite) TearDownSuite(c *C) { + defer testleak.AfterTest(c)() removeStore(c, s.dbName) } @@ -144,6 +147,7 @@ func (s *testMainSuite) TestConcurrent(c *C) { go f(i*step, step) } wg.Wait() + mustExec(c, testDB, dropDBSQL) } @@ -192,6 +196,8 @@ func (s *testMainSuite) TestTableInfoMeta(c *C) { // drop db mustExec(c, testDB, s.dropDBSQL) + err = testDB.Close() + c.Assert(err, IsNil) } func (s *testMainSuite) TestInfoSchema(c *C) { @@ -201,6 +207,9 @@ func (s *testMainSuite) TestInfoSchema(c *C) { row, err := rs.Next() c.Assert(err, IsNil) match(c, row.Data, "utf8mb4") + + err = store.Close() + c.Assert(err, IsNil) } func (s *testMainSuite) TestCaseInsensitive(c *C) { @@ -224,7 +233,10 @@ func (s *testMainSuite) TestCaseInsensitive(c *C) { rows, err := GetRows(rs) c.Assert(err, IsNil) match(c, rows[0], 3) + mustExecSQL(c, se, s.dropDBSQL) + err = store.Close() + c.Assert(err, IsNil) } func (s *testMainSuite) TestDriverPrepare(c *C) { @@ -249,12 +261,16 @@ func (s *testMainSuite) TestDriverPrepare(c *C) { c.Assert(err, IsNil) c.Assert(a, Equals, 1) c.Assert(b, Equals, 2) + mustExec(c, testDB, s.dropDBSQL) + err = testDB.Close() + c.Assert(err, IsNil) } // Testcase for delete panic func (s *testMainSuite) TestDeletePanic(c *C) { db, err := sql.Open("tidb", "memory://test/test") + c.Assert(err, IsNil) defer db.Close() _, err = db.Exec("create table t (c int)") c.Assert(err, IsNil) @@ -275,8 +291,8 @@ func (s *testMainSuite) TestDeletePanic(c *C) { // Testcase for arg type. func (s *testMainSuite) TestCheckArgs(c *C) { db, err := sql.Open("tidb", "memory://test/test") - defer db.Close() c.Assert(err, IsNil) + defer db.Close() mustExec(c, db, "create table if not exists t (c datetime)") mustExec(c, db, "insert t values (?)", time.Now()) mustExec(c, db, "drop table t") @@ -300,7 +316,7 @@ func (s *testMainSuite) TestIsQuery(c *C) { } } -func (s *testMainSuite) TestitrimSQL(c *C) { +func (s *testMainSuite) TestTrimSQL(c *C) { tbl := []struct { sql string target string diff --git a/util/auth_test.go b/util/auth_test.go index d913a730ce..26e59555b9 100644 --- a/util/auth_test.go +++ b/util/auth_test.go @@ -15,6 +15,7 @@ package util import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testAuthSuite{}) @@ -23,17 +24,20 @@ type testAuthSuite struct { } func (s *testAuthSuite) TestEncodePassword(c *C) { + defer testleak.AfterTest(c)() pwd := "123" c.Assert(EncodePassword(pwd), Equals, "40bd001563085fc35165329ea1ff5c5ecbdbbeef") } func (s *testAuthSuite) TestDecodePassword(c *C) { + defer testleak.AfterTest(c)() x, err := DecodePassword(EncodePassword("123")) c.Assert(err, IsNil) c.Assert(x, DeepEquals, Sha1Hash([]byte("123"))) } func (s *testAuthSuite) TestCalcPassword(c *C) { + defer testleak.AfterTest(c)() salt := []byte{116, 32, 122, 120, 2, 51, 33, 66, 47, 85, 34, 39, 84, 58, 108, 14, 62, 47, 120, 126} pwd := Sha1Hash([]byte("123")) checkAuth := []byte{126, 168, 249, 64, 180, 223, 60, 240, 69, 249, 184, 57, 21, 34, 214, 219, 8, 193, 208, 55} diff --git a/util/charset/charset_test.go b/util/charset/charset_test.go index 1210a01eea..237c93ac09 100644 --- a/util/charset/charset_test.go +++ b/util/charset/charset_test.go @@ -17,6 +17,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -34,6 +35,7 @@ func testValidCharset(c *C, charset string, collation string, expect bool) { } func (s *testCharsetSuite) TestValidCharset(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { cs string co string @@ -51,6 +53,7 @@ func (s *testCharsetSuite) TestValidCharset(c *C) { } func (s *testCharsetSuite) TestGetAllCharsets(c *C) { + defer testleak.AfterTest(c)() charset := &Charset{"test", nil, nil, "Test", 5} charsetInfos = append(charsetInfos, charset) descs := GetAllCharsets() @@ -67,6 +70,7 @@ func testGetDefaultCollation(c *C, charset string, expectCollation string, succ } func (s *testCharsetSuite) TestGetDefaultCollation(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { cs string co string diff --git a/util/codec/bytes_test.go b/util/codec/bytes_test.go index a91f33f3ae..2404a1dc11 100644 --- a/util/codec/bytes_test.go +++ b/util/codec/bytes_test.go @@ -15,6 +15,7 @@ package codec import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testBytesSuite{}) @@ -23,6 +24,7 @@ type testBytesSuite struct { } func (s *testBytesSuite) TestBytesCodec(c *C) { + defer testleak.AfterTest(c)() inputs := []struct { enc []byte dec []byte diff --git a/util/codec/codec_test.go b/util/codec/codec_test.go index f10514862d..c55d21e0c5 100644 --- a/util/codec/codec_test.go +++ b/util/codec/codec_test.go @@ -20,6 +20,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" "github.com/pingcap/tidb/util/types" ) @@ -33,6 +34,7 @@ type testCodecSuite struct { } func (s *testCodecSuite) TestCodecKey(c *C) { + defer testleak.AfterTest(c)() table := []struct { Input []types.Datum Expect []types.Datum @@ -89,6 +91,7 @@ func (s *testCodecSuite) TestCodecKey(c *C) { } func (s *testCodecSuite) TestCodecKeyCompare(c *C) { + defer testleak.AfterTest(c)() table := []struct { Left []types.Datum Right []types.Datum @@ -198,6 +201,7 @@ func (s *testCodecSuite) TestCodecKeyCompare(c *C) { } func (s *testCodecSuite) TestNumberCodec(c *C) { + defer testleak.AfterTest(c)() tblInt64 := []int64{ math.MinInt64, math.MinInt32, @@ -270,6 +274,7 @@ func (s *testCodecSuite) TestNumberCodec(c *C) { } func (s *testCodecSuite) TestNumberOrder(c *C) { + defer testleak.AfterTest(c)() tblInt64 := []struct { Arg1 int64 Arg2 int64 @@ -338,6 +343,7 @@ func (s *testCodecSuite) TestNumberOrder(c *C) { } func (s *testCodecSuite) TestFloatCodec(c *C) { + defer testleak.AfterTest(c)() tblFloat := []float64{ -1, 0, @@ -396,6 +402,7 @@ func (s *testCodecSuite) TestFloatCodec(c *C) { } func (s *testCodecSuite) TestBytes(c *C) { + defer testleak.AfterTest(c)() tblBytes := [][]byte{ {}, {0x00, 0x01}, @@ -473,6 +480,7 @@ func parseDuration(c *C, s string) mysql.Duration { } func (s *testCodecSuite) TestTime(c *C) { + defer testleak.AfterTest(c)() tbl := []string{ "2011-01-01 00:00:00", "2011-01-01 00:00:00", @@ -514,6 +522,7 @@ func (s *testCodecSuite) TestTime(c *C) { } func (s *testCodecSuite) TestDuration(c *C) { + defer testleak.AfterTest(c)() tbl := []string{ "11:11:11", "00:00:00", @@ -556,6 +565,7 @@ func (s *testCodecSuite) TestDuration(c *C) { } func (s *testCodecSuite) TestDecimal(c *C) { + defer testleak.AfterTest(c)() tbl := []string{ "1234.00", "1234", diff --git a/util/codec/decimal_test.go b/util/codec/decimal_test.go index f957ee5351..9c31cd0f01 100644 --- a/util/codec/decimal_test.go +++ b/util/codec/decimal_test.go @@ -16,6 +16,7 @@ package codec import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testDecimalSuite{}) @@ -24,6 +25,7 @@ type testDecimalSuite struct { } func (s *testDecimalSuite) TestDecimalCodec(c *C) { + defer testleak.AfterTest(c)() inputs := []struct { Input float64 }{ diff --git a/util/distinct/distinct_test.go b/util/distinct/distinct_test.go index 49446ecb1a..0c40d2eebe 100644 --- a/util/distinct/distinct_test.go +++ b/util/distinct/distinct_test.go @@ -17,6 +17,7 @@ import ( "testing" "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -29,6 +30,7 @@ type testDistinctSuite struct { } func (s *testDistinctSuite) TestDistinct(c *check.C) { + defer testleak.AfterTest(c)() dc := CreateDistinctChecker() cases := []struct { vals []interface{} diff --git a/util/format/format_test.go b/util/format/format_test.go index 9f9792aff8..e35699f501 100644 --- a/util/format/format_test.go +++ b/util/format/format_test.go @@ -19,6 +19,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -39,6 +40,7 @@ func checkFormat(c *C, f Formatter, buf *bytes.Buffer, str, expect string) { } func (s *testFormatSuite) TestFormat(c *C) { + defer testleak.AfterTest(c)() str := "abc%d%%e%i\nx\ny\n%uz\n" buf := &bytes.Buffer{} f := IndentFormatter(buf, "\t") diff --git a/util/mock/mock_test.go b/util/mock/mock_test.go index 4b73f210af..4482224e15 100644 --- a/util/mock/mock_test.go +++ b/util/mock/mock_test.go @@ -17,6 +17,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -37,6 +38,7 @@ func (k contextKeyType) String() string { const contextKey contextKeyType = 0 func (s *testMockSuite) TestContext(c *C) { + defer testleak.AfterTest(c)() ctx := NewContext() ctx.SetValue(contextKey, 1) diff --git a/util/prefix_helper_test.go b/util/prefix_helper_test.go index 4ff9579933..2ef02d7eb7 100644 --- a/util/prefix_helper_test.go +++ b/util/prefix_helper_test.go @@ -21,6 +21,7 @@ import ( "github.com/pingcap/tidb/kv" "github.com/pingcap/tidb/store/localstore" "github.com/pingcap/tidb/store/localstore/goleveldb" + "github.com/pingcap/tidb/util/testleak" ) const ( @@ -118,6 +119,7 @@ func (c *MockContext) FinishTxn(rollback bool) error { } func (s *testPrefixSuite) TestPrefix(c *C) { + defer testleak.AfterTest(c)() ctx := &MockContext{10000000, make(map[fmt.Stringer]interface{}), s.s, nil} ctx.fillTxn() txn, err := ctx.GetTxn(false) @@ -141,6 +143,7 @@ func (s *testPrefixSuite) TestPrefix(c *C) { } func (s *testPrefixSuite) TestPrefixFilter(c *C) { + defer testleak.AfterTest(c)() rowKey := []byte("test@#$%l(le[0]..prefix) 2uio") rowKey[8] = 0x00 rowKey[9] = 0x00 diff --git a/util/printer/printer_test.go b/util/printer/printer_test.go index 71ac3482fa..2bc958b81d 100644 --- a/util/printer/printer_test.go +++ b/util/printer/printer_test.go @@ -17,6 +17,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -29,6 +30,7 @@ type testPrinterSuite struct { } func (s *testPrinterSuite) TestPrintResult(c *C) { + defer testleak.AfterTest(c)() cols := []string{"col1", "col2", "col3"} datas := [][]string{{"11"}, {"21", "22", "23"}} result, ok := GetPrintResult(cols, datas) diff --git a/util/segmentmap/segmentmap_test.go b/util/segmentmap/segmentmap_test.go index bfa4468029..54d296e104 100644 --- a/util/segmentmap/segmentmap_test.go +++ b/util/segmentmap/segmentmap_test.go @@ -15,6 +15,7 @@ package segmentmap import ( . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testSegmentMapSuite{}) @@ -23,6 +24,7 @@ type testSegmentMapSuite struct { } func (s *testSegmentMapSuite) TestSegment(c *C) { + defer testleak.AfterTest(c)() segs := int64(2) m, err := NewSegmentMap(segs) c.Assert(err, IsNil) diff --git a/util/stringutil/string_util_test.go b/util/stringutil/string_util_test.go index 9201c63a45..51b04b4dae 100644 --- a/util/stringutil/string_util_test.go +++ b/util/stringutil/string_util_test.go @@ -17,6 +17,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -29,6 +30,7 @@ type testStringUtilSuite struct { } func (s *testStringUtilSuite) TestRemoveUselessBackslash(c *C) { + defer testleak.AfterTest(c)() table := []struct { str string expect string diff --git a/util/testleak/add-leaktest.sh b/util/testleak/add-leaktest.sh new file mode 100755 index 0000000000..723553eb0e --- /dev/null +++ b/util/testleak/add-leaktest.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Usage: add-leaktest.sh pkg/*_test.go + +set -eu + +sed -i'~' -e ' + /^func (s \*test.*Suite) Test.*(c \*C) {/ { + n + /testleak.AfterTest/! i\ + defer testleak.AfterTest(c)() + } +' $@ + +for i in $@; do + if ! cmp -s $i $i~ ; then + goimports -w $i + fi +echo $i + rm -f $i~ +done diff --git a/util/testleak/check-leaktest.sh b/util/testleak/check-leaktest.sh new file mode 100755 index 0000000000..8df9d57e29 --- /dev/null +++ b/util/testleak/check-leaktest.sh @@ -0,0 +1,38 @@ +#!/bin/sh +# +# Usage: check-leaktest.sh +# It needs to run under the github.com/pingcap/tidb directory. + +set -e + +pkgs=$(git grep 'Suite' |grep -vE "Godeps|tags" |awk -F: '{print $1}' | xargs -n1 dirname | sort |uniq) +echo $pkgs +for pkg in ${pkgs}; do + if [ -z "$(ls ${pkg}/*_test.go 2>/dev/null)" ]; then + continue + fi + awk -F'[(]' ' +/func \(s .*Suite\) Test.*C\) {/ { + test = $1"("$2 + next +} + +/defer testleak.AfterTest/ { + test = 0 + next +} + +{ + if (test && (FILENAME != "./tidb_test.go")) { + printf "%s: %s: missing defer testleak.AfterTest\n", FILENAME, test + test = 0 + code = 1 + } +} + +END { + exit code +} + +' ${pkg}/*_test.go +done diff --git a/util/testleak/leaktest.go b/util/testleak/leaktest.go new file mode 100644 index 0000000000..3f06416a38 --- /dev/null +++ b/util/testleak/leaktest.go @@ -0,0 +1,107 @@ +// Copyright 2013 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// Copyright 2016 PingCAP, Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// See the License for the specific language governing permissions and +// limitations under the License. + +package testleak + +import ( + "runtime" + "sort" + "strings" + "time" + + "github.com/pingcap/check" +) + +func interestingGoroutines() (gs []string) { + buf := make([]byte, 2<<20) + buf = buf[:runtime.Stack(buf, true)] + for _, g := range strings.Split(string(buf), "\n\n") { + sl := strings.SplitN(g, "\n", 2) + if len(sl) != 2 { + continue + } + stack := strings.TrimSpace(sl[1]) + if stack == "" || + strings.Contains(stack, "created by github.com/pingcap/tidb.init") || + strings.Contains(stack, "testing.RunTests") || + strings.Contains(stack, "check.(*resultTracker).start") || + strings.Contains(stack, "localstore.(*dbStore).scheduler") || + strings.Contains(stack, "ddl.(*ddl).start") || + strings.Contains(stack, "domain.NewDomain") || + strings.Contains(stack, "testing.Main(") || + strings.Contains(stack, "runtime.goexit") || + strings.Contains(stack, "created by runtime.gc") || + strings.Contains(stack, "interestingGoroutines") || + strings.Contains(stack, "runtime.MHeap_Scavenger") { + continue + } + gs = append(gs, stack) + } + sort.Strings(gs) + return +} + +var beforeTestGorountines = map[string]bool{} + +// BeforeTest gets the current goroutines. +// It's used for check.Suite.SetUpSuite() function. +// Now it's only used in the tidb_test.go. +func BeforeTest() { + for _, g := range interestingGoroutines() { + beforeTestGorountines[g] = true + } +} + +// AfterTest gets the current goroutines and runs the returned function to +// get the goroutines at that time to contrast wheter any goroutines leaked. +// Usage: defer testleak.AfterTest(c)() +// It can call with BeforeTest() at the beginning of check.Suite.TearDownSuite() or +// call alone at the beginning of each test. +func AfterTest(c *check.C) func() { + if len(beforeTestGorountines) == 0 { + for _, g := range interestingGoroutines() { + beforeTestGorountines[g] = true + } + } + + return func() { + defer func() { + beforeTestGorountines = map[string]bool{} + }() + + var leaked []string + for i := 0; i < 50; i++ { + for _, g := range interestingGoroutines() { + if !beforeTestGorountines[g] { + leaked = append(leaked, g) + } + } + // Bad stuff found, but goroutines might just still be + // shutting down, so give it some time. + if len(leaked) != 0 { + leaked = leaked[:0] + time.Sleep(50 * time.Millisecond) + continue + } + + return + } + for _, g := range leaked { + c.Errorf("Test appears to have leaked: %v", g) + } + } +} diff --git a/util/testutil/testutil_test.go b/util/testutil/testutil_test.go index 11aea896de..c55e8431f9 100644 --- a/util/testutil/testutil_test.go +++ b/util/testutil/testutil_test.go @@ -17,6 +17,7 @@ import ( "testing" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -29,6 +30,7 @@ type testTestUtilSuite struct { } func (s *testTestUtilSuite) TestCompareUnorderedString(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { a []string b []string diff --git a/util/types/compare_test.go b/util/types/compare_test.go index c1dac0f523..af8178d351 100644 --- a/util/types/compare_test.go +++ b/util/types/compare_test.go @@ -18,6 +18,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testCompareSuite{}) @@ -26,6 +27,7 @@ type testCompareSuite struct { } func (s *testCompareSuite) TestCompare(c *C) { + defer testleak.AfterTest(c)() cmpTbl := []struct { lhs interface{} rhs interface{} @@ -158,6 +160,7 @@ func (s *testCompareSuite) TestCompare(c *C) { } func (s *testCompareSuite) TestCompareDatum(c *C) { + defer testleak.AfterTest(c)() cmpTbl := []struct { lhs Datum rhs Datum diff --git a/util/types/convert_test.go b/util/types/convert_test.go index 3abb9ffd03..80568331b9 100644 --- a/util/types/convert_test.go +++ b/util/types/convert_test.go @@ -22,6 +22,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" "github.com/pingcap/tidb/util/charset" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testTypeConvertSuite{}) @@ -33,6 +34,7 @@ type invalidMockType struct { } func (s *testTypeConvertSuite) TestConvertType(c *C) { + defer testleak.AfterTest(c)() ft := NewFieldType(mysql.TypeBlob) ft.Flen = 4 ft.Charset = "utf8" @@ -257,6 +259,7 @@ func testToInt64(c *C, val interface{}, expect int64) { } func (s *testTypeConvertSuite) TestConvertToInt64(c *C) { + defer testleak.AfterTest(c)() testToInt64(c, "0", int64(0)) testToInt64(c, int(0), int64(0)) testToInt64(c, int64(0), int64(0)) @@ -295,6 +298,7 @@ func testToFloat64(c *C, val interface{}, expect float64) { } func (s *testTypeConvertSuite) TestConvertToFloat64(c *C) { + defer testleak.AfterTest(c)() testToFloat64(c, "0", float64(0)) testToFloat64(c, int(0), float64(0)) testToFloat64(c, int64(0), float64(0)) @@ -332,6 +336,7 @@ func testToString(c *C, val interface{}, expect string) { } func (s *testTypeConvertSuite) TestConvertToString(c *C) { + defer testleak.AfterTest(c)() testToString(c, "0", "0") testToString(c, true, "1") testToString(c, "false", "false") @@ -371,6 +376,7 @@ func testToBool(c *C, val interface{}, expect int64) { } func (s *testTypeConvertSuite) TestConvertToBool(c *C) { + defer testleak.AfterTest(c)() testToBool(c, int(0), 0) testToBool(c, int64(0), 0) testToBool(c, uint64(0), 0) @@ -420,6 +426,7 @@ func testStrToFloat(c *C, str string, expect float64) { } func (s *testTypeConvertSuite) TestStrToNum(c *C) { + defer testleak.AfterTest(c)() testStrToInt(c, "0", 0) testStrToInt(c, "-1", -1) testStrToInt(c, "100", 100) @@ -450,6 +457,7 @@ func (s *testTypeConvertSuite) TestStrToNum(c *C) { } func (s *testTypeConvertSuite) TestFieldTypeToStr(c *C) { + defer testleak.AfterTest(c)() v := TypeToStr(mysql.TypeDecimal, "not binary") c.Assert(v, Equals, type2Str[mysql.TypeDecimal]) v = TypeToStr(mysql.TypeBlob, charset.CharsetBin) @@ -506,6 +514,7 @@ func strvalue(v interface{}) string { } func (s *testTypeConvertSuite) TestConvert(c *C) { + defer testleak.AfterTest(c)() // integer ranges signedDeny(c, mysql.TypeTiny, -129, "-128") signedAccept(c, mysql.TypeTiny, -128, "-128") diff --git a/util/types/etc_test.go b/util/types/etc_test.go index 5fbf15d113..cd5c60dfa5 100644 --- a/util/types/etc_test.go +++ b/util/types/etc_test.go @@ -21,6 +21,7 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { @@ -43,6 +44,7 @@ func testIsTypeChar(c *C, tp byte, expect bool) { } func (s *testTypeEtcSuite) TestIsType(c *C) { + defer testleak.AfterTest(c)() testIsTypeBlob(c, mysql.TypeTinyBlob, true) testIsTypeBlob(c, mysql.TypeMediumBlob, true) testIsTypeBlob(c, mysql.TypeBlob, true) @@ -65,6 +67,7 @@ func testTypeToStr(c *C, tp byte, charset string, expect string) { } func (s *testTypeEtcSuite) TestTypeToStr(c *C) { + defer testleak.AfterTest(c)() testTypeStr(c, mysql.TypeYear, "year") testTypeStr(c, 0xdd, "") @@ -101,6 +104,7 @@ func (s *testTypeEtcSuite) TestTypeToStr(c *C) { } func (s *testTypeEtcSuite) TestEOFAsNil(c *C) { + defer testleak.AfterTest(c)() err := EOFAsNil(io.EOF) c.Assert(err, IsNil) } @@ -116,6 +120,7 @@ func checkCollateDesc(c *C, x, y []interface{}, expect int) { } func (s *testTypeEtcSuite) TestCollate(c *C) { + defer testleak.AfterTest(c)() checkCollate(c, []interface{}{1, 2}, nil, 1) checkCollate(c, nil, []interface{}{1, 2}, -1) checkCollate(c, nil, nil, 0) @@ -142,6 +147,7 @@ func checkClone(c *C, a interface{}, pass bool) { } func (s *testTypeEtcSuite) TestClone(c *C) { + defer testleak.AfterTest(c)() checkClone(c, nil, true) checkClone(c, uint16(111), true) checkClone(c, "abcd1.c--/+!%^", true) @@ -198,6 +204,7 @@ func checkCoerce(c *C, a, b interface{}) { } func (s *testTypeEtcSuite) TestCoerce(c *C) { + defer testleak.AfterTest(c)() checkCoerce(c, uint64(3), int16(4)) checkCoerce(c, uint64(0xffffffffffffffff), float64(2.3)) checkCoerce(c, float64(1.3), uint64(0xffffffffffffffff)) @@ -211,6 +218,7 @@ func (s *testTypeEtcSuite) TestCoerce(c *C) { } func (s *testTypeEtcSuite) TestIsOrderedType(c *C) { + defer testleak.AfterTest(c)() r := IsOrderedType(1) c.Assert(r, IsTrue) r = IsOrderedType(-1) @@ -226,6 +234,7 @@ func (s *testTypeEtcSuite) TestIsOrderedType(c *C) { } func (s *testTypeEtcSuite) TestMaxFloat(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Flen int Decimal int @@ -244,6 +253,7 @@ func (s *testTypeEtcSuite) TestMaxFloat(c *C) { } func (s *testTypeEtcSuite) TestRoundFloat(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input float64 Expect float64 @@ -264,6 +274,7 @@ func (s *testTypeEtcSuite) TestRoundFloat(c *C) { } func (s *testTypeEtcSuite) TestTruncate(c *C) { + defer testleak.AfterTest(c)() tbl := []struct { Input float64 Decimal int diff --git a/util/types/field_type_test.go b/util/types/field_type_test.go index 21f9d6ce6f..27d6847ae2 100644 --- a/util/types/field_type_test.go +++ b/util/types/field_type_test.go @@ -16,6 +16,7 @@ package types import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/mysql" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testFieldTypeSuite{}) @@ -24,6 +25,7 @@ type testFieldTypeSuite struct { } func (s *testFieldTypeSuite) TestFieldType(c *C) { + defer testleak.AfterTest(c)() ft := NewFieldType(mysql.TypeDuration) c.Assert(ft.Flen, Equals, UnspecifiedLength) c.Assert(ft.Decimal, Equals, UnspecifiedLength) @@ -107,6 +109,7 @@ func (s *testFieldTypeSuite) TestFieldType(c *C) { } func (s *testFieldTypeSuite) TestDefaultTypeForValue(c *C) { + defer testleak.AfterTest(c)() cases := []struct { value interface{} tp byte diff --git a/util/types/overflow_test.go b/util/types/overflow_test.go index 27f6c44016..0f2fb0fc43 100644 --- a/util/types/overflow_test.go +++ b/util/types/overflow_test.go @@ -17,6 +17,7 @@ import ( "math" . "github.com/pingcap/check" + "github.com/pingcap/tidb/util/testleak" ) var _ = Suite(&testOverflowSuite{}) @@ -25,6 +26,7 @@ type testOverflowSuite struct { } func (s *testOverflowSuite) TestAdd(c *C) { + defer testleak.AfterTest(c)() tblUint64 := []struct { lsh uint64 rsh uint64 @@ -94,6 +96,7 @@ func (s *testOverflowSuite) TestAdd(c *C) { } func (s *testOverflowSuite) TestSub(c *C) { + defer testleak.AfterTest(c)() tblUint64 := []struct { lsh uint64 rsh uint64 @@ -192,6 +195,7 @@ func (s *testOverflowSuite) TestSub(c *C) { } func (s *testOverflowSuite) TestMul(c *C) { + defer testleak.AfterTest(c)() tblUint64 := []struct { lsh uint64 rsh uint64 @@ -265,6 +269,7 @@ func (s *testOverflowSuite) TestMul(c *C) { } func (s *testOverflowSuite) TestDiv(c *C) { + defer testleak.AfterTest(c)() tblInt64 := []struct { lsh int64 rsh int64 diff --git a/xapi/tablecodec/tablecodec_test.go b/xapi/tablecodec/tablecodec_test.go index 88a6bd9363..e01338fcea 100644 --- a/xapi/tablecodec/tablecodec_test.go +++ b/xapi/tablecodec/tablecodec_test.go @@ -18,18 +18,20 @@ import ( . "github.com/pingcap/check" "github.com/pingcap/tidb/util/codec" + "github.com/pingcap/tidb/util/testleak" ) func TestT(t *testing.T) { TestingT(t) } -var _ = Suite(&tableCodecSuite{}) +var _ = Suite(&testTableCodecSuite{}) -type tableCodecSuite struct{} +type testTableCodecSuite struct{} // TODO: add more tests. -func (s *tableCodecSuite) TestTableCodec(c *C) { +func (s *testTableCodecSuite) TestTableCodec(c *C) { + defer testleak.AfterTest(c)() key := EncodeRowKey(1, codec.EncodeInt(nil, 2)) h, err := DecodeRowKey(key) c.Assert(err, IsNil)