Menu

#165 Reimplement Autosaving function

v1.1.x
closed
None
v1.1.0
Change Request
2017-05-05
2017-03-02
Erik Hänel
No

The autosaving function of the cache is not reimplemented yet in the kernel. Implement this functionality again.

Analysis:
To achieve that an autosave only occurs during idle times, it's timer should be located in the wxTerm::Entry() function. This needs a change of the kernel interface, because a last save time read, an autosave interval read and an autosave signal is needed.

In addition the autosave function should not display a success message because this would distract the users input.

Implementation:
Implementation was done as proposed by the analysis. In addition the autosave setting was added to the options dialog.

Documentation:
Not needed - Reimplementation of a functionality.

Tests:
Durability tests showed only one deviation, which was fixed: there was a crash, if NumeRe tried to save the cache two times. This was possible, if the saving of the cache needed more than 100ms. No further deviations detected. Change was implemented successfully.

Discussion

  • Erik Hänel

    Erik Hänel - 2017-03-02
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-03-04
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     The autosaving function of the cache is not reimplemented yet in the kernel. Implement this functionality again.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-03-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,9 @@
     The autosaving function of the cache is not reimplemented yet in the kernel. Implement this functionality again.
    
     **Analysis:**
    +To achieve that an autosave only occurs during idle times, it's timer should be located in the `wxTerm::Entry()` function. This needs a change of the kernel interface, because a last save time read, an autosave interval read and an autosave signal is needed.
    +
    +In addition the autosave function should not display a success message because this would distract the users input.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-03-06
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -6,7 +6,9 @@
     In addition the autosave function should not display a success message because this would distract the users input.
    
     **Implementation:**
    +Implementation was done as proposed by the analysis. In addition the autosave setting was added to the options dialog.
    
     **Documentation:**
    +Not needed - Reimplementation of a functionality.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-05-05
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -12,3 +12,4 @@
     Not needed - Reimplementation of a functionality.
    
     **Tests:**
    +Durability tests showed only one deviation, which was fixed: there was a crash, if NumeRe tried to save the cache two times. This was possible, if the saving of the cache needed more than 100ms. No further deviations detected. Change was implemented successfully.
    
    • status: testing --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB