Skip to content

Commit

Permalink
resolve the conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <rleungx@gmail.com>
  • Loading branch information
rleungx committed Aug 10, 2023
1 parent 07ac843 commit 4401721
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/cluster/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ func (c *RaftCluster) processRegionHeartbeat(region *core.RegionInfo) error {
if err != nil {
return err
}
region.Inherit(origin, c.GetPersistOptions().GetStoreConfig().IsEnableRegionBucket())
region.Inherit(origin, c.GetStoreConfig().IsEnableRegionBucket())

c.hotStat.CheckWriteAsync(statistics.NewCheckExpiredItemTask(region))
c.hotStat.CheckReadAsync(statistics.NewCheckExpiredItemTask(region))
Expand Down
2 changes: 1 addition & 1 deletion server/cluster/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ func TestStoreConfigSync(t *testing.T) {
re.Empty(opt.GetStoreConfig())
err = opt.Reload(tc.GetStorage())
re.NoError(err)
re.Equal(tc.GetPersistOptions().GetStoreConfig(), opt.GetStoreConfig())
re.Equal(tc.GetOpts().(*config.PersistOptions).GetStoreConfig(), opt.GetStoreConfig())
}

func TestUpdateStorePendingPeerCount(t *testing.T) {
Expand Down

0 comments on commit 4401721

Please sign in to comment.