Re: Multiple row creation

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 06/10/06, [email protected] <[email protected]> wrote:
> Thanks for your response. But suppose one create (SNMPSET) success and
> one create (SNMPSET) request fails

Are these two separate SNMP SET requests, or two row creation
assignments, bundled within a single SNMP SET request?    I'm assuming
the latter (given your original question), but this phrasing tends to
imply the former.


>                                                      then do we need to delete the first
> row as SET request is atomic?

Yes - assuming this is a single SNMP SET request.
That's exactly right.   If the SET request fails, then neither row
should be created.

Of course, if the two rows are created using two separate SET
requests, then it's perfectly valid for one creation to succeed, and
the other to fail.  But if you're putting both creation assignments
into the same SET request, then they must stand or fall together.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.