Editing User:Tbharathchandra/DevLog2020

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 94: Line 94:
 
* Resolved error with header files  
 
* Resolved error with header files  
 
* Added Guards around cache_enry serialization definitions
 
* Added Guards around cache_enry serialization definitions
* Made some modifications to the smartCacheInsert method and encountered a critical error.
+
* Made some modification to the smartCacheInsert method and encountered a critical error.
  
 
==June 24==
 
==June 24==
Line 102: Line 102:
  
 
==June 25==
 
==June 25==
* Geometry cache is inserting into Redis by preview action
+
* Geometry cache is inserting into redis by preview action
 
* Segmentation fault of yesterday still prevails
 
* Segmentation fault of yesterday still prevails
  
 
==June 26==
 
==June 26==
* Testing has done in the case of CGAl Cache, CGAL is successfully inserting into Redis while previewing and crashes in case of Render action.
+
* Found the cause for seg fault, in process to resolve it
* Found the cause for segfault, in the process to resolve it
 
 
 
==June 27==
 
* Resolved the segfault by starting the connection on render thread while rendering. no change in the case of the preview.
 
 
 
==June 28==
 
* worked on crash due to lazy union
 
* identified the reason behind the crash.
 
 
 
==June 29==
 
* Analyzed the options for resolving the crash
 
 
 
==June 30==
 
* After discussing with mentor, we decided to continue working on the reconstruction of object from redis and try to resolve the issue in parallel.
 
 
 
=Phase 2=
 
 
 
==July 4-8==
 
* Resolved segmentation fault related to rendering on a different thread
 
 
 
==July 9-13==
 
* Resolved the crash which is happening when previewing the second script
 
 
 
==July 14-16==
 
* Resolved the repeating authentication bug
 
 
 
==July 17==
 
* Adding a new test app to CTest of OpenSCAD
 
 
 
==July 18==
 
* Completed the python test script and added it to tests/CMakList.txt
 
* failed to run the test on local machine
 
* test failed by running on travis and other tools most probably because of lack of hiredis lib
 
 
 
==July 19==
 
* fixed the problem discussed yesterday, by changing the args in add_cmd_test in tests/cmakelists.txt and changing the export path in python script.
 
* ran Travis along by starting Redis-server, macOS doesn't offer that service and no huge time difference is observed in the other two builds.
 
* need to add hiredis dependency to Travis check to complete.
 
 
 
==July 20-26==
 
* placed pcachepngtest_CSG into heavy config due to variety of reasons
 
* discussed with teepee about things that can be done
 
* started by adding clear Redis cache feature under the same design=>flush caches
 
* Added a new option for openscad for logging debug messages into an external file
 
* Added another test for persistent cache which tests the cache hit behavior
 
 
 
=Phase 3=
 
 
 
==Aug 2==
 
* Added debug-output option to openscad
 
 
 
==Aug 3==
 
* added testcase using debug-output option
 
 
 
==Aug 4==
 
* Added a section in WIP wikibook about persistent cache
 
 
 
==Aug 5==
 
* Designed local cache feature set
 
 
 
==Aug 6==
 
* Completed writing insert, get, gethash and contains methods.
 
* Resolved build issues on CI checks
 
 
 
==Aug 7==
 
* Resolved issues with lcache and completed setting up it's working in GeometryEvaluator
 
* Resolved the crash issue which is arising when trying to flush cache.
 
 
 
==Aug 8==
 
* Resolved the crash which occurs when lazy-union is enabled.
 
 
 
==Aug 9==
 
* Added local cache to cmd line options renamed --persistent-cache option as --option with args like --option=file for enabling local cache and --option=redis,127.0.0.1,6379,foobared for enabling redis cache.
 
* encountered a seg fault
 
 
 
==Aug 10==
 
* resolved the segfault crash.
 
* updated WIP in progress page.
 
 
 
== Aug 13-18 ==
 
* In search of eviction implementation
 
 
 
== Aug 19 ==
 
* Facing build errors with Circle CI builds which are disabled because of some reason
 
* Decided to upstream to remove the boosty dependency in platformutils
 
 
 
== Aug 20==
 
* Updated tests/cmakelist.txt to include the changes made to --cache option and corrected few things dropped because merging
 

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)