Laisky.Cai
Laisky.Cai
I confirmed that the crash problem is indeed caused by `NumTCS`, I changed `NumTCS` to 1024 and solved crash problem.
- https://mariadb.com/kb/en/thread-pool-in-mariadb/#configuring-the-thread-pool-on-unix I guess it's probably because I have too many cpu cores on my machine that the `mariadb.thread_pool_size` exceeds the `NumTCS`.
Another major concern is that after a crashed, sometimes there is a data corupt problem that prevents the database process from restarting ``` eRocksDB failed to initialize correctly. This likely...
One interesting thing I found is that edb's TPCC metrics do not increase linearly with the client threads. EdgelessDB Vs. MyRocks (edgelessdb with 1024 NumTCS & 8GB Heapsize)  cc...
you can try my fork https://github.com/Laisky/graphql , support custom headers & cookies, and fully compatible with shurcool/graphql.
@IamFlowZ you can try my fork `github.com/Laisky/graphql`, fully compatible with shurcool/graphql. https://github.com/Laisky/graphql
@prashantv Thank you for your explaining. But It seems hard to load internal fields from Core, so I add a new `fields` in Core, is this OK? If it's OK,...
@prashantv It seems that there's no way to get `Core.enc` without change `Core` interface, so hooks cannot get included fields that stored in `Core.enc`. Do you have any idea that...
@prashantv I updated the code, it can achieve this: ```go logger := zap.NewExample(zap.HooksWithFields(func(e zapcore.Entry, fs []zapcore.Field) error { fmt.Println(len(fs)) return nil })) logger.With(zap.String("key", "val")).Info("test") ``` output: ``` 1 ```
@zacscoding you could try my fork https://github.com/Laisky/mockery I add `.Catch` to catch by name with any arguments