aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-09-16 15:06:22 -0700
committerchrislu <chris.lu@gmail.com>2023-09-16 15:06:22 -0700
commitfa629263471f357a36855c06751692ee2341ec24 (patch)
treec5596c6d5fcd5f66b106201e530319555b33a281
parent89a1fd1751f9054fed171882984e9a90c9debf8e (diff)
parent9e5b1eef9b0a7ce3bfd5a102d95ef64bbc6d3a3d (diff)
downloadseaweedfs-fa629263471f357a36855c06751692ee2341ec24.tar.xz
seaweedfs-fa629263471f357a36855c06751692ee2341ec24.zip
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
-rw-r--r--weed/mount/dirty_pages_chunked.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/weed/mount/dirty_pages_chunked.go b/weed/mount/dirty_pages_chunked.go
index 76a3be1be..25b071e7d 100644
--- a/weed/mount/dirty_pages_chunked.go
+++ b/weed/mount/dirty_pages_chunked.go
@@ -2,11 +2,12 @@ package mount
import (
"fmt"
+ "io"
+ "sync"
+
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/mount/page_writer"
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
- "io"
- "sync"
)
type ChunkedDirtyPages struct {
@@ -82,7 +83,7 @@ func (pages *ChunkedDirtyPages) saveChunkedFileIntervalToStorage(reader io.Reade
}
-func (pages ChunkedDirtyPages) Destroy() {
+func (pages *ChunkedDirtyPages) Destroy() {
pages.uploadPipeline.Shutdown()
}