This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 26649 - MON: Potential timestamp conflict with directory names
Summary: MON: Potential timestamp conflict with directory names
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: HTTP Monitor (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-20 18:41 UTC by issues@www
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description issues@www 2002-08-20 18:41:56 UTC
Description: 
Monitor currently stores transaction information in directories which are named 
based on a timestamp.  However, there is a potential conflict if two requests 
occur at exactly the same millisecond.  This could happen if multiple requests 
are being handled by the server at the same time or if the user changes their 
clock settings.

The likelihood of this occurring is very minimal, but if time is available we 
may want to think of a more unique name for the directories.  Perhaps something 
like the timestamp concatenated with the process ID or something...

A comment.
Comment 1 Ana.von Klopp 2002-08-21 02:47:08 UTC
We could use a random number generator for this as long as 
it takes the date into account for sorting purposes. ID 
could be date plus number. This will marginally slow down 
HTTP request execution. 
Comment 2 Ana.von Klopp 2004-07-30 17:41:50 UTC
Note - we've never seen this. Though it would be better if the time 
stamp was set inside the record instead of being the name of the 
record, as doing so would allow users to rename saved transactions. 
Comment 3 Martin Balin 2016-07-07 08:54:03 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss