Loading server/core_storage.go +1 −3 Original line number Diff line number Diff line Loading @@ -458,9 +458,6 @@ WHERE } func StorageWriteObjects(ctx context.Context, logger *zap.Logger, db *sql.DB, authoritativeWrite bool, ops StorageOpWrites) (*api.StorageObjectAcks, codes.Code, error) { // Ensure writes are processed in a consistent order. sort.Sort(ops) var acks []*api.StorageObjectAck tx, err := db.BeginTx(ctx, nil) Loading Loading @@ -503,6 +500,7 @@ func storageWriteObjects(ctx context.Context, logger *zap.Logger, tx *sql.Tx, au } acks = append(acks, ack) } return acks, nil } Loading Loading
server/core_storage.go +1 −3 Original line number Diff line number Diff line Loading @@ -458,9 +458,6 @@ WHERE } func StorageWriteObjects(ctx context.Context, logger *zap.Logger, db *sql.DB, authoritativeWrite bool, ops StorageOpWrites) (*api.StorageObjectAcks, codes.Code, error) { // Ensure writes are processed in a consistent order. sort.Sort(ops) var acks []*api.StorageObjectAck tx, err := db.BeginTx(ctx, nil) Loading Loading @@ -503,6 +500,7 @@ func storageWriteObjects(ctx context.Context, logger *zap.Logger, tx *sql.Tx, au } acks = append(acks, ack) } return acks, nil } Loading