VOL-4077: Improve storage usage on etcd
- Do away with unnecessary data storage on etcd if it can be
reconciled on adapter restart
- For data that needs storage, use lesser footprint if possible
- Use write-through-cache for all data stored on etcd via
resource manager module
- Use ResourceManager module per interface to localize lock
contention per PON port
Change-Id: I21d38216fab195d738a446b3f96a00251569e38b
diff --git a/internal/pkg/olterrors/olterrors.go b/internal/pkg/olterrors/olterrors.go
index c5790ac..43bcd07 100644
--- a/internal/pkg/olterrors/olterrors.go
+++ b/internal/pkg/olterrors/olterrors.go
@@ -21,7 +21,7 @@
"context"
"encoding/json"
"fmt"
- "github.com/opencord/voltha-lib-go/v4/pkg/log"
+ "github.com/opencord/voltha-lib-go/v5/pkg/log"
"strings"
)
@@ -364,4 +364,12 @@
// ErrResourceManagerInstantiating error returned when an unexpected
// condition occcurs while instantiating the resource manager
ErrResourceManagerInstantiating = NewErrAdapter("resoure-manager-instantiating", nil, nil)
+
+ // ErrFlowManagerInstantiating error returned when an unexpected
+ // condition occcurs while instantiating the flow manager
+ ErrFlowManagerInstantiating = NewErrAdapter("flow-manager-instantiating", nil, nil)
+
+ // ErrGroupManagerInstantiating error returned when an unexpected
+ // condition occcurs while instantiating the group manager
+ ErrGroupManagerInstantiating = NewErrAdapter("group-manager-instantiating", nil, nil)
)