Re: mesh: Handling application failures on Create/Join/Import

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-12-17 at 20:11 +0100, michal.lowas-rzechonek@xxxxxxxxxxx wrote:
> On 12/17, Gix, Brian wrote:
> > I think one piece of functionality that we have *not* yet tested is
> > Node Reset.  If a Config Client sends a Node Reset to an "Orphaned
> > Node", using that nodes Device Key, the daemon should be cleaning up
> > all of it's storage.
> 
> I meant 'get rid of it from the application side'. After Create(), noone
> else knows how to talk to the newly created config server...
> 
> > > I think the Application does need to take responsibility for the
> > > token, once it receives it...  If the call (or response) that
> > > delivers the token to the App fails, the node should be deleted
> 
> Indeed. Would you be willing to accept a patch that changes token
> delivery to use JoinComplete call in all cases, and checks that the call
> returns successfully?


Maybe...  I need to discuss it with Inga.  How does this relate to Create() though?  There is no JoinComplete()
call currently axs a result of Create()...  just the return value from the Create() method. Is your problem
that the daemon cannot be sure that the return value (token) from Create() was received?




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux