The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7378

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Just a suggestion this one, the original bolt repo is no longer maintained and archived, the coreos fork is actively maintained and is supposed to be backwards compatible.

- build and runtime tested on x86_64, build and init tested on mips64 (don't have a mips64 image to hand)

This is also related to mips support, bbolt has mips and riscv support whereas the existing bolt requires patching
From e6212e714924b36d078e0cc84da0482bdd163802 Mon Sep 17 00:00:00 2001
From: Joe Holden <j...@zorins.us>
Date: Sun, 17 May 2020 14:39:44 +0000
Subject: [PATCH] use the coreos fork of boltdb since the original is
 archived/abandoned

---
 lxd/cluster/migrate.go   | 2 +-
 lxd/cluster/raft/bolt.go | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxd/cluster/migrate.go b/lxd/cluster/migrate.go
index 47ecd931b8..b52925c8e0 100644
--- a/lxd/cluster/migrate.go
+++ b/lxd/cluster/migrate.go
@@ -8,7 +8,7 @@ import (
        "path/filepath"
        "strconv"
 
-       "github.com/boltdb/bolt"
+       bolt "go.etcd.io/bbolt"
        "github.com/hashicorp/go-msgpack/codec"
        "github.com/lxc/lxd/lxd/cluster/raft"
        "github.com/lxc/lxd/shared"
diff --git a/lxd/cluster/raft/bolt.go b/lxd/cluster/raft/bolt.go
index b6176cd415..72926aff1b 100644
--- a/lxd/cluster/raft/bolt.go
+++ b/lxd/cluster/raft/bolt.go
@@ -5,7 +5,7 @@ import (
        "encoding/binary"
        "errors"
 
-       "github.com/boltdb/bolt"
+       bolt "go.etcd.io/bbolt"
        "github.com/hashicorp/go-msgpack/codec"
 )
 
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to