-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(database/gdb): Fixed the bug that the forced cache policy was invalidated #4342
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
Open
LanceAdd
wants to merge
25
commits into
gogf:master
Choose a base branch
from
LanceAdd:fix/gdb-force-cache-invalid
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+987
−19
Open
Changes from 12 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
a59ea55
[lanceadd]Solve the bug that the ORM uses forced cache invalidation, …
LanceAdd eef7b4f
[lanceadd]Reduce unnecessary caching
LanceAdd 721fb60
Merge branch 'master' into fix/gdb-force-cache-invalid
houseme 7b7404d
Merge branch 'gogf:master' into fix/gdb-force-cache-invalid
LanceAdd 306ded3
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd a70d573
Merge branch 'gogf:master' into fix/gdb-force-cache-invalid
LanceAdd ac87885
Merge branch 'gogf:master' into fix/gdb-force-cache-invalid
LanceAdd de8c0fe
Update database/gdb/gdb_model_cache.go
LanceAdd d32f6ec
fix(gdb): 修复模型缓存查询结果判断逻辑
LanceAdd e5864aa
fix(gdb): 优化模型缓存查询结果判断逻辑
LanceAdd fba5dc4
Merge branch 'gogf:master' into fix/gdb-force-cache-invalid
LanceAdd 55b07ad
fix(mariadb): 更新测试断言逻辑
LanceAdd 288967f
fix(gdb): 移除了查询结果为nil时赋值空Result的逻辑
LanceAdd a086cdf
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd 7d4759c
feat(database): 优化查询缓存逻辑以防止缓存穿透
LanceAdd c9e1aa1
fix(gdb): 优化缓存空结果处理逻辑
LanceAdd 024d876
fix(gdb): 修复模型缓存中的选择类型判断逻辑
LanceAdd 09b98d3
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd 8e36d2a
Merge branch 'master' into fix/gdb-force-cache-invalid
houseme d2d93a5
test(mysql): 添加缓存穿透单元测试
LanceAdd 8e07c1d
test(mysql): 调整缓存穿透测试中的缓存持续时间
LanceAdd ab3ce76
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd 8951695
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd c877ad5
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd c94809f
Merge branch 'master' into fix/gdb-force-cache-invalid
LanceAdd 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.