How can I force a out-of-date client to do a sync with master?

I use 'DB_REPMGR_ACKS_NONE' for some clients which locate in different areas. But sometimes the network is not that good, and causes the client data out-of-date.
My question is that:
1. Is there a api that can do a manual sync without restarting the deamon? It seems 'DB_ENV->rep_sync' does not work. I know if I restart the client deamon, I can do it. But if I not?
2. If I continue to put lots of data on a master, it seems the client can catch up with master because I found that the 'next_lsn' of client is same with master. But if I only put some small data on a master, the 'next_lsn' of client still fall behind..Can you tell why?
Here's my environment:
Linux
db-4.6.21
using repmgr, not base api
Regards,
Steve

Hi Steve,
There is no API for on-demand synchronization with the master. The
rep_sync method is for something else. Please read about
"Synchronizing with a master":
    db-4.6.21/docs/ref/rep/mastersync.htmlThe only way to force resychronization on demand is to close the
environment and open it again.
A replication client checks the log sequence number of each incoming
log record, and can detect gaps in the sequence. If some log records
are lost due to network problems, then when later log records arrive
the client detects the missing records.
Generally the client will then request a new copy of the missing log
records from the master. However, it does not do so immediately,
because a perceived gap in the sequence of log records could instead
be nothing more than the fact that incoming log records can sometimes
be processed out of order. (Log record messages can also be
transmitted out of sequence in some network environments that don't
use TCP/IP -- but if you're using repmgr that is of course not the
case.)
Instead, the client waits for some number of out-of-sequence log
records before issuing the request for retransmission. One thing that
you can do is to tune the parameters governing this gap processing
algorithm. However, most users should not need to do this.
    db-4.6.21/docs/api_c/rep_request.htmlAlan Bram
Oracle

Similar Messages

  • How can I ensure the content in iBooks on my iPad also syncs with my mini iPad?

    How can I ensure my content in iBooks on my iPad 3 syncs with the iBooks in my mini iPad?

    If they are iTunes purchased/downloaded ibooks then as long as they are still in the store you should be able to re-download them via the Purchased tab in the ibookstore in the iBooks app on the second device. For ebooks and epubs from other sources you will need to sync them - even though they aren't iTunes purchases you should be able to copy them from a device to your computer's iTunes via File > Devices > Transfer Purchases and you can then sync them to the other device. You can then keep bookmarks and collections in-line between the two devices via Settings > iBooks on the two devices (the 'sync collections' will keep collections in-line between devices, but it won't copy the copy the actual ibooks between devices).

  • I bought a new apple computer and when i synced the iPod with computer it erased all my previous personal music.How can i get my music back to where it was before syncing with new computer?

    I bought a new apple computer, when I synced my ipod after I thought i had transferred all my music all my old music was erased.  How can I get  back my old music on my  ipod?

    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How can I make playlist changes on my iPhone 6 the default sync with iTunes?

    I'm far more often using my iPhone to make iTunes purchases and make changes to my playlists- how can I make *these* the default settings by which iTunes syncs? I have iTunes match, iCloud, etc. Mainly I'd like to easily have iTunes match my iPhone changes, and then when I sync my iPod nano via usb, have the iTunes (ergo iPhone) changes made to the iPod.
    Thanks in advance!

    I'm far more often using my iPhone to make iTunes purchases and make changes to my playlists- how can I make *these* the default settings by which iTunes syncs? I have iTunes match, iCloud, etc. Mainly I'd like to easily have iTunes match my iPhone changes, and then when I sync my iPod nano via usb, have the iTunes (ergo iPhone) changes made to the iPod.
    Thanks in advance!

  • How can I convert my contacts on iPhone to VCard to Bluetooth sync with my Mercedes system?

    I bought a 2010 Mercedes and have no problems Bluetoothing my iPhone 5s into the standard systen. The "B Cards" or Contacts will not sync. I am told the Contacts need to be converted to "VCard" format. Is there an app to do this? Might the app from Verizon work that transfers contacts from iOS to Android work? I am not a computer genius and the easiest way would be great.

    Sync the iPhone with your address book then export the contacts as a vCard. 

  • Itunes and proxy settings. Itunes keeps the proxy setting from IE and I can't adapt it due to company policy. How can I force itunes to use firefox?

    itunes can not connect to server and I can't find its proxy settings.
    So I think it uses these from IE and those are blocked by company policy.
    So, how can I force itunes to use the firefox settings

    I fixed this issue (with help from tech support) and it involved several things.
    After adding a song to iTunes, right-click on the song in iTunes and select "Update iTunes Match."
    OR go to the iTunes menu-->Store-->Update iTunes Match.
    Maybe that's the reason, it just hadn't updated to the cloud.
    OR maybe it's not a high-enough bitrate file.   This happens to me because most of my tunes are home-recorded.
    Sometimes converting to .mp3 or Create AAC version might work. (You do this with a right-click in iTunes, and then you will want to remove the original file from iTunes.)
    There is an iTunes Preferences setting, under General Preferences called Import Settings.  Try setting it to AAC Encoder and iTunes Plus.   That (I think) causes imports to be slightly better quality.
    Good luck!  The tech support person at Apple is requesting that a knowlege-base article be written about this.

  • How can we force everything printed out of Oracle to print greyscale

    How can we force everything printed out of Oracle to print greyscale and not color?
    I looked in CUPS and there is no way to distinguish what color scale to output, it has to come from the source (Oracle) with that parameter.
    I have confirmed that printers are already set to force to greyscale, but this is overridden by the date coming from CUPS rather than a Windows machine. Please investigate options to force all print jobs from Oracle, whether as outputs from concurrent programs or the ctrl-p print window contents function, to greyscale.
    EBS release 11.5.10.2
    Thanks in advance.

    It's actually setup at the printer level.
    Check the printer color mode setup by accessing the printer web interface at http://<printer name found in Oracle>.
    Thanks,
    PS.

  • How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.

    How can I force Time Machine to make a complete backup of my Hard Drive.  I just installed a new external drive for Backup since my previous one failed.  Now when I back up, Time Machine only backs up my data folder and the Users folder.
    When I start a backup. Time Machine says "Oldest Backup: None; Latest Backup: None", so it seems like it should do a complete backup, but it only does a partial. 

    Hi I'd like to jump in here. Your app showed me this:
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 749.3 GB Disk used: 453.81 GB
              Destinations:
                        Plastic Wrapper [Local] (Last used)
                        Total size: 999.86 GB
                        Total number of backups: 64
                        Oldest backup: 2013-07-24 23:25:11 +0000
                        Last backup: 2013-11-17 01:40:47 +0000
                        Size of backup disk: Too small
                                  Backup size 999.86 GB < (Disk used 453.81 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
              /sbin excluded from backup!
              /usr excluded from backup!
              /System excluded from backup!
              /bin excluded from backup!
              /private excluded from backup!
              /Library excluded from backup!
              /Applications excluded from backup!
    Aside from the size of my backup drive, which I will increase at some point, I'd really like to have time machine backing up all system folders, especially Applications. How to I reset this hidden exclusions?
    Thanks,
    Darcy

  • Photoshop CC (2014) claims to be up to date, although it is still running Camera Raw 8.6.0.254. How can I force an update to ACR 9?

    How can I force PS CC (2014) to update Camera Raw?

    I finally got through to Adobe Support chat, and got a direct link to the update. Problem solved.

  • How can I force PS Touch to sync?

    How can I force PS Touch to sync? It only syncs randomly, about once or twice a day, even if no file is open. So, it is usually an out-of-date picture of what I have stored on the Creative Cloud. I have tried toggling the sync switch, quitting and restarting the app, deleting and reinstalling the app, signing in and out of Creative Cloud, and backing in and out of folders. I am at 6% of my storage limit, and 89% of my rope.

    Q: When you save a new PSTouch project to the PSTouch gallery (with sync on) what is the sync status showing? In Progress? Completed?
    A: It starts with "in progress" then switches immediately to 0% complete, and stays that way permenantly, even when left to sync for more than 24 hours. On the same iPad, I also have Adobe Ideas, Adobe Collage, Adobe Proto -- all sync perfectly. Also working fine on this iPad -- Adobe Revel and Adobe Content Viewer.
    Q: What happens when you rename a PSTouch file in the CreativeCloud browser. Are the changes synced back to your PSTouch app.
    A: No. Nothing at all will sync from the Creative Cloud, and nothing at all syncs from the PSTouch App to the Cloud either. I am, however, able to download images from the CC into PSTouch, but the resulting files won't sync back, I must email them to another device to add them back to the CC. The view of the Creative Cloud in the main PSTouch browser window is always out of date, several days old by now.
    Q: What kind of files are missed during sync? Are those files named with special characters.
    A: All files and folders are missed during the sync, because the sync does not occur. No files sync at all. File name examples: brochure.indd   image.jpg    image.psdx   Folder Name
    Q: Are you on a wifi network?
    A: Yes, definitely connected to my functioning high speed WiFi.
    Thanks Gruele

  • How can I force iTunes Match to upload a "Duplicate" to the iCloud?

    I have one album where the first track was uploaded, and the other eleven tracks are all tagged as "Duplicates." These tracks were not uploaded to the iCloud. How can I force iTunes Match to upload these eleven tracks erroneously tagged as Duplicates?

    I'm adding my 2¢ because I just "discovered" iTunes Match yesterday and decided to subscribe thinking there was no downside (doh!).
    Well, firstly, there's the enormous downside of Apple's structure not being able to keep up with (what they should have known would be) enormous interest... my iTunes has been matching for >20-hours and has yet to reach half-way up my library. BTW: I thought I read the iTunes Match info fairly thoroughly prior to subscribing and did not see anything about it being for songs vrs full library.
    And secondly, and even more important to me, is that Apple's method of determining duplicate songs is not robust enough, especially for classical music and audio books (e.g., LoTR). I have >12000 "songs" in my library, and Match has determined a boatload are duplicates. They are not of course and even if Apple's duplicate-determining algorithm just looked at disc & track numbers it would "know" that. Anyway, there's a fairly good chance I will not have one complete album upload/match out of >500 albums. That's nae Scottish, in anybody's book.
    Gotta say, using Garage Band to individually alter >2000 "songs" on the off-chance that may assist Apple's duplicate algorithm to be correct is not gonna happen. If, after the matching/uploading is complete, I still have >even 100-not-duplicate-songs listed as duplicates, I'm getting my $29.95 subscription back.
    ... and C: does anybody know why Apple's Lion spell check doesn't work on Apple's discussion forums???

  • My MacBook Pro is running very slow. How can I check is out?

    .My MacBook Pro is running very slow. How can I check is out?

    Backup your data.  Your disk/SSD may be failing.
    What has changed lately?
    - Has your disk/SSD filled up recently?
              How much free space? 
              Less than 10 GB? 
              Less than 20 GB?
    - Did you upgrade OS X recently (for example from 10.8 to 10.9 or 10.9 to 10.9.1)?
    - Have you installed any 3rd-party software recently?
    Run Disk Utility (from the Applications  > Utilities folder).
    - Click on the system disk (Macintosh HD) and Verify Disk.
    - Does it report errors or does it finish normally?
    Try an SMC Reset.
    http://support.apple.com/kb/HT3964
    Boot in Safe Mode.
    http://support.apple.com/kb/HT1564
    When in Safe Mode does it operate normally?
    After rebooting in normal mode is it faster?

  • How can you save an app's data?

    Hi, how can you save an app's data? For example, if I want to switch some applications on my iPod with those were on my iTunes Apps Library, iTunes will force to remove the apps that was on my device and sync the apps that I want onto my iPod. But once the app is removed from my iPod, its data will be erased too, so, for example months later, I want to put them back onto my iPod, I will lose all the apps data and games progress. So, I just want to know the way that people save their apps data.

    Yo can't. apps are locked to the account thatpurchased them and in-app purchases can only be mad with the account that originally purchased the app.
    You will have to recover use of the first account
    How do I change or recover a forgotten Apple ID Password?
    If you've forgotten your Apple ID Password or want to change it, go to My Apple ID and follow the instructions. SeeChanging your Apple ID password if you'd like more information.
    If necessary:
    Forgotten Security Questions/Answers
    You need to contact Apple by:
    1 - Use the Express lane and start here:
    https://expresslane.apple.com
    then click More Products and Services>Apple ID>Other Apple ID Topics>Forgotten Apple ID security questions.
    or
    Apple - Support -form iTunes Store - Contact Us
    2 - Call Apple in your country by getting the number from here:
    http://support.apple.com/kb/HE57
    or           
    Apple ID: Contacting Apple for help with Apple ID account security
    3 - Use your rescue email address if you set one up
    Rescue email address and how to reset Apple ID security questions
    For general  information see:
    Apple ID: All about Apple ID security questions
    If you have not uses any of the $10 you redeemed to the new account, you can likely get that refunded by contacting iTunes
    Contact iTunes

  • How can I print directly out of Pages on my iPad?

    How can I print directly out of Pages on my iPad if my Brother printer is not airprint compatible? I currently have a Brother MFC-J615W and have downloaded the Brother iPrint app; but that only works with pictures and PDFs it seems.  I know I can use the cloud to transfer and just print from my macbook, but I am starting school and would love to cut out that middle step if possible.  I know... how lazy is that? But I feel like I should be able to make it work with a little ingenuity.  Thanks for any info you can provide.

    Try to arrange them manually afterwards: afaik, it is impossible to force an order when syncing:
    See MartyLightroom's post:
    Re: How do you arrange the albums in chronological order in iPhoto ? 

  • How can I make a query by date with several TDMS files?

    Hi,
    I have a project that can write and read TDMS files everyday (a file for each day with date and time). There, I can import those files to excel (I choose a file and load it). But, I have a question: How can I make a query by date with those TDMS files? I'd like make a time stamp for start date and stop date, where I could compare the TDMS file dates and sum the values that are in the channels where these files are similar. For example, I save a file with "02/01/2013" name, in other day "03/01/2013", in other day "04/01/2013"... so, i'd like put in time stamp for start date "02/01/2013" file and to stop date "04/01/2013" file, than, sum all values that range with my TDMS files existing. How can I make that? 
    Thanks all,
    Val 

    Hello Val_Auto.
    You're Brazilian, no? Me too. = ^ - ^ =
    I converted VI to version of your LabVIEW (8.5). Is attached in this reply.
    This VI search all your TDMS in a range of dates and join them in a single TDMS. I hope this is what you wanted.
    Query TDMS is the main VI. The TDMS VI Search changes the date format that out from calendar control (which is DD / MM / YYYY) to DD-MM-YYYY. This is because you can't name files using "/". I chose "-" but, if necessary, you should change to keep the same format of your TDMS files.
    If you have any doubt as to its operation or how to make changes to adapt VI for your application, keep at your disposal.
    Thank you for your contact; I hope have helped you and succeed in your application.
    Wesley Rocha
    Application Engineer
    National Instruments Brazil
    Visite a nossa comunidade em PORTUGUÊS!!!
    Attachments:
    Query TDMS.vi ‏62 KB
    tdms search.vi ‏24 KB

Maybe you are looking for

  • Need to attach xl file in SO_NEW_DOCUMENT_ATT_SEND_API1

    Hi frenz,   I have my data in objbin tablei want to attach it thru mail in CSV format using SO_NEW_DOCUMENT_ATT_SEND_API1. Its wrking till the mail is sent, but data attached is concatenating in one single line of CSV EX   my data is in this format 1

  • Problem mit Adobe Photoshop Album 2.0 S.E.

    Hallo, nach der der Installation will ich das Programm starten, jedoch erhalte ich folgender Fehlermeldung: "Beim Öffnen des Katalogs Mein Katalog trat ein Problem auf. Der Katalog wurde möglicherweise von einem anderen Benutzer oder in einer anderen

  • Hyperlink above interactive overlay in a .folio?

    I have a video file the size of the full screen however wish to have a hyperlink above it constantly so users can go back to the menu when they wish. How do I do this as it seems InDesign wants anything static to appear below any interative overlays

  • How to interpolate 3D shapes?

    Hey, I'm trying to make a web presentation where the user can click over a 3d object and by the movements of the mouse it gets deformed. I though it by interpolating the shapes of tow 3D objects previously done on Maya. I searched on Director documen

  • UWL Basic configuration

    Greetings, I am trying to solve a problem I have in UWL - SAP transactions (such as requisition approvals) are opened in not-maximized browser window, and ITS is creating a screen, which is smaller then it should appear. Not all elements are visible,