mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
fs: Re-implement object layer to remember the fd (#3509)
This patch re-writes FS backend to support shared backend sharing locks for safe concurrent access across multiple servers.
This commit is contained in:
+2
-2
@@ -298,7 +298,7 @@ func (d config) Diff(c Config) ([]structs.Field, error) {
|
||||
currFields := structs.Fields(d.Data())
|
||||
newFields := structs.Fields(c.Data())
|
||||
|
||||
found := false
|
||||
var found bool
|
||||
for _, currField := range currFields {
|
||||
found = false
|
||||
for _, newField := range newFields {
|
||||
@@ -324,7 +324,7 @@ func (d config) DeepDiff(c Config) ([]structs.Field, error) {
|
||||
currFields := structs.Fields(d.Data())
|
||||
newFields := structs.Fields(c.Data())
|
||||
|
||||
found := false
|
||||
var found bool
|
||||
for _, currField := range currFields {
|
||||
found = false
|
||||
for _, newField := range newFields {
|
||||
|
||||
Reference in New Issue
Block a user