ab61636452 opened a new issue, #2197:
URL: https://github.com/apache/apisix-ingress-controller/issues/2197

   ### Current Behavior
   
   024-03-28T12:37:46.824012753+08:00 stderr F fatal error: concurrent map 
writes
   2024-03-28T12:37:46.824134465+08:00 stderr F 2024-03-28T12:37:46+08:00       
error  adapter/etcd.go:141     failed to create object, ignore 
it{error 26 0  rpc error: code = InvalidArgument desc = etcdserver: duplicate 
key given in txn request} {revision 11 135  <nil>} {key 15 0 
/apisix/consumers/apisix_apaas_jwe_encrypt_generate_consumer <nil>}
   2024-03-28T12:37:46.827169428+08:00 stderr F 
   2024-03-28T12:37:46.827180144+08:00 stderr F goroutine 263 [running]:
   2024-03-28T12:37:46.827183958+08:00 stderr F 
reflect.mapassign_faststr0(0x1dc4fc0, 0x20cca38?, {0xc0027f90b8?, 
0xc0006fc760?}, 0xc0006fc760)
   2024-03-28T12:37:46.827186788+08:00 stderr F         
/usr/local/go/src/runtime/map.go:1371 +0x25
   2024-03-28T12:37:46.827197943+08:00 stderr F 
reflect.mapassign_faststr(0x1d37dc0?, 0xc0006fc760?, {0xc0027f90b8, 0x4}, 0x19?)
   2024-03-28T12:37:46.827211823+08:00 stderr F         
/usr/local/go/src/reflect/value.go:3886 +0xa9
   2024-03-28T12:37:46.827219712+08:00 stderr F 
reflect.Value.SetMapIndex({0x1dc4fc0?, 0xc0016492f8?, 0x4?}, {0x1c63cc0, 
0xc0006fc810, 0x198}, {0x1d37dc0, 0xc0006fc760, 0x194})
   2024-03-28T12:37:46.827229164+08:00 stderr F         
/usr/local/go/src/reflect/value.go:2467 +0x225
   2024-03-28T12:37:46.827247451+08:00 stderr F 
encoding/json.(*decodeState).object(0xc00123d320, {0x1dc4f40?, 0xc0016492f8?, 
0x2cc?})
   2024-03-28T12:37:46.827253563+08:00 stderr F         
/usr/local/go/src/encoding/json/decode.go:799 +0x1385
   2024-03-28T12:37:46.827278692+08:00 stderr F 
encoding/json.(*decodeState).value(0xc00123d320, {0x1dc4f40?, 0xc0016492f8?, 
0xc000c00008?})
   2024-03-28T12:37:46.827282495+08:00 stderr F         
/usr/local/go/src/encoding/json/decode.go:374 +0x3e
   2024-03-28T12:37:46.827306505+08:00 stderr F 
encoding/json.(*decodeState).unmarshal(0xc00123d320, {0x1dc4f40?, 
0xc0016492f8?})
   2024-03-28T12:37:46.827319842+08:00 stderr F         
/usr/local/go/src/encoding/json/decode.go:181 +0x11e
   2024-03-28T12:37:46.827341432+08:00 stderr F 
encoding/json.Unmarshal({0xc0020ae600, 0x2cc, 0x300}, {0x1dc4f40, 0xc0016492f8})
   2024-03-28T12:37:46.827359954+08:00 stderr F         
/usr/local/go/src/encoding/json/decode.go:108 +0xf9
   2024-03-28T12:37:46.827370862+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/types/apisix/v1.(*Plugins).DeepCopyInto(0xc00290bdf8,
 0xc0016492f8)
   2024-03-28T12:37:46.827375525+08:00 stderr F         
/build/pkg/types/apisix/v1/types.go:189 +0x76
   2024-03-28T12:37:46.827383788+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/types/apisix/v1.(*PluginConfig).DeepCopyInto(0xc00290bdc0,
 0xc0016492c0)
   2024-03-28T12:37:46.827387048+08:00 stderr F         
/build/pkg/types/apisix/v1/zz_generated.deepcopy.go:338 +0x15e
   2024-03-28T12:37:46.827392802+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/types/apisix/v1.(*PluginConfig).DeepCopy(...)
   2024-03-28T12:37:46.827395614+08:00 stderr F         
/build/pkg/types/apisix/v1/zz_generated.deepcopy.go:348
   2024-03-28T12:37:46.827405619+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/apisix/cache.(*dbCache).GetPluginConfig(0xc000c00008?,
 {0xc0027f8ff0?, 0x0?})
   2024-03-28T12:37:46.827413525+08:00 stderr F         
/build/pkg/apisix/cache/memdb.go:156 +0x6c
   2024-03-28T12:37:46.827436493+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/apisix.CompareResourceEqualFromCluster[...](0x1f0a120,
 {0xc0027f8ff0?, 0xc000a6bf00?}, 0xc001649100?)
   2024-03-28T12:37:46.827447922+08:00 stderr F         
/build/pkg/apisix/utils.go:265 +0x6e
   2024-03-28T12:37:46.827457984+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/apisix.(*pluginConfigMem).Create(0xc000623170,
 {0xc00037b6e0?, 0x290?}, 0xc001649100, 0x20?)
   2024-03-28T12:37:46.82746091+08:00 stderr F  
/build/pkg/apisix/pluginconfig.go:275 +0x4c
   2024-03-28T12:37:46.827531682+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/providers/utils.SyncManifests({0x2406b08,
 0xc000638870}, {0x2407c00, 0xc000051140}, {0xc00037b6e0, 0x7}, 0xc0020cde18, 
0x0, 0x0, 0x1)
   2024-03-28T12:37:46.827539811+08:00 stderr F         
/build/pkg/providers/utils/manifest.go:286 +0x2384
   2024-03-28T12:37:46.827547976+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/providers/types.(*Common).SyncManifests(0xc00023aa80,
 {0x2406b08, 0xc000638870}, 0xc000759e18, 0x0, 0x0, 0x1)
   2024-03-28T12:37:46.827550662+08:00 stderr F         
/build/pkg/providers/types/types.go:157 +0xb0
   2024-03-28T12:37:46.827556011+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/providers/apisix.(*apisixPluginConfigController).sync(0xc0003e1080,
 {0x2406b08, 0xc000638870}, 0xc001648f00)
   2024-03-28T12:37:46.827569035+08:00 stderr F         
/build/pkg/providers/apisix/apisix_plugin_config.go:206 +0x138d
   2024-03-28T12:37:46.82757469+08:00 stderr F 
github.com/apache/apisix-ingress-controller/pkg/providers/apisix.(*apisixPluginConfigController).runWorker(0xc0003e1080,
 {0x2406b08, 0xc000638870})
   2024-03-28T12:37:46.827580983+08:00 stderr F         
/build/pkg/providers/apisix/apisix_plugin_config.go:86 +0x45
   2024-03-28T12:37:46.827590899+08:00 stderr F created by 
github.com/apache/apisix-ingress-controller/pkg/providers/apisix.(*apisixPluginConfigController).run
 in goroutine 416
   2024-03-28T12:37:46.827600029+08:00 stderr F         
/build/pkg/providers/apisix/apisix_plugin_config.go:75 +0x11b
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   With the help package installer, it will appear at some time
   
   ### Environment
   
   - APISIX Ingress controller version (run `apisix-ingress-controller version 
--long`)
   - Kubernetes cluster version (run `kubectl version`)
   - OS version if running APISIX Ingress controller in a bare-metal 
environment (run `uname -a`)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to