You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@devlake.apache.org by GitBox <gi...@apache.org> on 2022/05/16 14:00:22 UTC

[GitHub] [incubator-devlake] mappjzc opened a new issue, #1880: Different reflect.Type use the same Map in batches of BatchSaveDivider.

mappjzc opened a new issue, #1880:
URL: https://github.com/apache/incubator-devlake/issues/1880

   ## Describe the bug
   ![image](https://user-images.githubusercontent.com/2921251/168609452-dcc3189b-ecae-4942-957d-0c80b6195c59.png)
   
   the struct TestTypeA and the struct TestTypeBv are diffrent reflect.Type
   but when we look at the pointer of the Map, we can see it use the same pointer.
   so it made different reflect.Type use the same Map in batches of BatchSaveDivider. 
   
   ## To Reproduce
   Steps to reproduce the behavior:
   1. Go to unit test and debug the code.
   
   ## Expected behavior
   Different reflect.Type should to use different Map pointer.
   
   ## Screenshots
   If applicable, add screenshots to help explain your problem.
   
   ## Additional context
   Add any other context about the problem here.
   


-- 
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: dev-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] mappjzc closed issue #1880: Different reflect.Type use the same Map in batches of BatchSaveDivider.

Posted by GitBox <gi...@apache.org>.
mappjzc closed issue #1880: Different reflect.Type use the same Map in batches of BatchSaveDivider. 
URL: https://github.com/apache/incubator-devlake/issues/1880


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] klesh commented on issue #1880: Different reflect.Type use the same Map in batches of BatchSaveDivider.

Posted by GitBox <gi...@apache.org>.
klesh commented on issue #1880:
URL: https://github.com/apache/incubator-devlake/issues/1880#issuecomment-1128293496

   Were they all `nil` ?


-- 
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: dev-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org