Menu

#783 incorrect saLogStreamOpen_2 api input validations

future
invalid
nobody
None
enhancement
log
-
4.2
minor
False
2017-11-03
2014-02-14
manu
No

Scenario 1:

Opening an already created log stream with log file size altered is returning SA_AIS_ERR_INVALID_PARAM instead of SA_AIS_ERR_EXIST

created an application stream by name safLgStr=test_app_stream1 at around Jan::::13::::17:04:55::::586652000 .

Again tried to open the same stream by giving all the stream attributes same as the above except for the logfilesize attributed changed to a different value @ Jan::::13::::17:04:55::::586652000

Here the saLogStreamCreate fucntion returned SA_AIS_ERR_INVALID_PARAM instead of returning SA_AIS_ERR_EXIST

Scenario 2:

Trying to create an already created application stream by calling the saLogStreamOpen_2 function with the same attributes as the previous one except for the logFileCreateAttributes.haProperty attribute is returning SA_AIS_OK instead of SA_AIS_ERR_EXIST

Discussion

  • Anders Bjornerstedt

    • Type: defect --> enhancement
     
  • Canh Truong

    Canh Truong - 2017-11-03
    • status: unassigned --> invalid
    • Blocker: --> False
     
  • Canh Truong

    Canh Truong - 2017-11-03

    Currently the result is SA_AIS_ERR_EXIST

     

Log in to post a comment.