[SUPPORT] node, ir, morph: Add new config option upgrade_mode #1075

Merged
fyrchik merged 4 commits from acid-ant/frostfs-node:bugfix/upgrade-flag-support into support/v0.38 2024-09-04 19:51:07 +00:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 748da78dc7 - Show all commits

View file

@ -17,6 +17,7 @@ func (h filenameHeap) Swap(i, j int) { h[i], h[j] = h[j], h[i] }
func (h *filenameHeap) Push(x any) {
*h = append(*h, x.(heapInfo))
}
func (h *filenameHeap) Pop() any {
old := *h
n := len(old)

View file

@ -130,7 +130,7 @@ func TestGetSubTreeOrderAsc(t *testing.T) {
t.Run("boltdb forest", func(t *testing.T) {
p := pilorama.NewBoltForest(pilorama.WithPath(filepath.Join(t.TempDir(), "pilorama")))
require.NoError(t, p.Open(context.Background(), 0644))
require.NoError(t, p.Open(context.Background(), 0o644))
require.NoError(t, p.Init())
testGetSubTreeOrderAsc(t, p)
})