Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wakaama-dev] about issue #84: Instance ID is no longer required in Bootstrap Write operation.

Hi David,

When I try to modify the instance 0(Security and server), I got one problem.

When lw_step from "STATE_BS_FINISHED" changes to "STATE_INITIAL", refresh_server_list() can't find serverList and then do "STATE_BOOTSTRAP_REQUIRED" again.

Here is the situation.

內置圖片 1

Step 1:  Client send /bs to BS server.
Step 2: Server send /0 instance 0
Step 3: Server send /1 instance 0
Step 4: /bs finish bootstrap

After I modify the instance 0 security,  I tag the modified server  into "STATE_DIRTY".

But after step4, the bs server will be assign  "STATE_BS_FINISHED".

When lw_step from "STATE_BS_FINISHED" to "STATE_INITIAL", the state machine will trigger refresh_server_list().

But refresh_server_list() will only delete "STATE_DIRTY" server.  

That means it won't go into this case in object_getServers line 680.

內置圖片 2

Any idea or I miss something?

--
RickyLiu

Back to the top