| Summary: | File Gateway is unreliable under load | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Rick Wagner <rwagner> |
| Component: | Distribution | Assignee: | Default User <jbpapp-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.0 GA | CC: | kevin.conner, rwagner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-3184 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
SOA-P 5.1.0, using a File Gateway
|
|
| Last Closed: | 2011-07-19 19:39:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Rick Wagner
2011-07-18 19:17:03 UTC
Can you please enable DEBUG logging and attach the server.log to this issue. Unfortunately there is a bug is the script, which is likely to be exacerbated on a SAN. The missing 'Line 2' entries are more likely a cause of interleaving, i.e. consuming the file before the Line2 has been written. Change the loop to the following and retest while [ $kount -gt 0 ]; do FILENAME="$kount.$m$s.dat" FILEWITHPATH=$DIR/In/$FILENAME FILEWITHPATH_CREATE=$FILEWITHPATH.create echo "$FILENAME Line1" >> "$FILEWITHPATH_CREATE" echo "$FILENAME Line2" >> "$FILEWITHPATH_CREATE" mv "$FILEWITHPATH_CREATE" "$FILEWITHPATH" kount=$((kount-1)) done I should add that the race may also be a possible explanation for the missing file. Thanks, Kevin. You're right, my script was bad and did lead to a race condition in consumption. (I *knew* there was a bug around here somewhere!), I was able to run for several hours without a dropped file or record. I'll close this JIRA and will see if I can get the customer to agree. |