-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix : check if table meta cache should be refreshed in AT mode #4734
Merged
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
ea0daa4
todo
Bughue 1ac4cbb
simulate nullpointerExp
Bughue 68f2687
fix npe
Bughue dc21dcd
fix npe
Bughue 42ee542
fix npe
Bughue 7de5d38
format
Bughue de27bf6
format
Bughue af64796
先去掉单测,让构建都完成,方便review
Bughue a7800e2
Merge branch 'develop' of github.com:seata/seata into dev_4572_new_fe…
Bughue 1679535
remove t-w-r
Bughue d6b8610
Merge branch 'develop' into dev_4572_new_feild_null
Bughue fccf6a9
Merge branch 'develop' of github.com:seata/seata into dev_4572_new_fe…
Bughue 13c8601
Merge branch 'develop' into dev_4572_new_feild_null
Bughue 6faf8e7
Merge branch 'develop' into dev_4572_new_feild_null
Bughue fbade58
Merge branch 'develop' into dev_4572_new_feild_null
Bughue 329618c
fix merge
Bughue 4056fc2
fix test
Bughue 9397cca
fix test
Bughue b2d712f
Merge branch 'develop' into dev_4572_new_feild_null
Bughue 2689577
Merge branch 'develop' into dev_4572_new_feild_null
funky-eyes c3de060
Merge branch 'develop' into dev_4572_new_feild_null
funky-eyes 8a34079
rename exp
Bughue db46e53
Merge remote-tracking branch 'origin/dev_4572_new_feild_null' into de…
Bughue b488939
Merge branch 'develop' into dev_4572_new_feild_null
funky-eyes 355f106
npe
Bughue 9209696
Merge remote-tracking branch 'origin/dev_4572_new_feild_null' into de…
Bughue 4fbfca4
optimize
Bughue 90ea894
ignore unrefreshable
Bughue 57960dd
remove todo
Bughue 363b019
checkstyle
Bughue ef60d17
checkstyle
Bughue ac4166c
Merge branch 'develop' into dev_4572_new_feild_null
funky-eyes fd7aad3
checkstyle
Bughue 125f042
Merge remote-tracking branch 'origin/dev_4572_new_feild_null' into de…
Bughue 20c1edc
changes
Bughue d1ce758
Merge branch 'develop' of github.com:seata/seata into dev_4572_new_fe…
Bughue b64d227
optimize
Bughue 6062d52
optimize
Bughue 933c3b9
private tableMeta
Bughue 8db15a3
Merge branch 'develop' of github.com:seata/seata into dev_4572_new_fe…
Bughue ccf9ecf
tableMeta refresh event
Bughue e8b9a6b
check style
Bughue c901589
check style
Bughue 072f609
currentTimeMillis
Bughue 026f1b5
check style
Bughue 996bfb5
Merge branch 'develop' into dev_4572_new_feild_null
Bughue 1ac5bf2
comment
Bughue 711e659
Merge branch 'develop' into dev_4572_new_feild_null
Bughue eb47a94
comment
Bughue 332081b
Merge remote-tracking branch 'origin/dev_4572_new_feild_null' into de…
Bughue ef87ff3
fix test
Bughue 3b85ba1
Merge branch 'develop' into dev_4572_new_feild_null
Bughue de81450
fix test
Bughue 155c5f0
Merge remote-tracking branch 'origin/dev_4572_new_feild_null' into de…
Bughue a8d8781
fix test
Bughue febc6a0
fix test
Bughue 9672177
Merge branch 'develop' into dev_4572_new_feild_null
Bughue 16ca49a
Merge branch 'develop' into dev_4572_new_feild_null
Bughue 8b22aef
optimize
Bughue 5b4e206
Merge remote-tracking branch 'origin/dev_4572_new_feild_null' into de…
Bughue 96bae53
optimize
Bughue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
rm-datasource/src/main/java/io/seata/rm/datasource/exception/TableMetaException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* | ||
* Copyright 1999-2019 Seata.io Group. | ||
* | ||
* 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, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations under the License. | ||
*/ | ||
package io.seata.rm.datasource.exception; | ||
|
||
import java.sql.SQLException; | ||
|
||
/** | ||
* The type TableMetaException exception. | ||
* | ||
* @author Bughue | ||
*/ | ||
public class TableMetaException extends SQLException { | ||
private String columnName; | ||
private String tableName; | ||
|
||
public TableMetaException(String tableName, String columnName) { | ||
this.columnName = columnName; | ||
this.tableName = tableName; | ||
} | ||
|
||
public String getTableName() { | ||
return tableName; | ||
} | ||
|
||
public String getColumnName() { | ||
return columnName; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原定时刷新缓存的功能在这次更新后失效了?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tableMeta缓存刷新失效? #6660