Skip to content

Commit 5ca23a6

Browse files
authored
Don't use memory temp store. (#615)
1 parent c025486 commit 5ca23a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/synccompactor/compactor.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ func (c *Compactor) Compact(ctx context.Context) (*CompactableSync, error) {
145145
dotc1z.WithPragma("synchronous", "OFF"),
146146
// Use exclusive locking.
147147
dotc1z.WithPragma("main.locking_mode", "EXCLUSIVE"),
148-
// Use memory for temporary storage.
149-
dotc1z.WithPragma("temp_store", "MEMORY"),
150148
// Use parallel decoding.
151149
dotc1z.WithDecoderOptions(dotc1z.WithDecoderConcurrency(-1)),
152150
// Use parallel encoding.
@@ -293,7 +291,6 @@ func (c *Compactor) doOneCompaction(ctx context.Context, cs *CompactableSync) er
293291
dotc1z.WithPragma("synchronous", "OFF"),
294292
dotc1z.WithPragma("journal_mode", "OFF"),
295293
dotc1z.WithPragma("locking_mode", "EXCLUSIVE"),
296-
dotc1z.WithPragma("temp_store", "MEMORY"),
297294
)
298295
if err != nil {
299296
return err

0 commit comments

Comments
 (0)