Synchronization of data on Yandex disk. What to do if Yandex disk is not synchronized Yandex disk synchronization by folder

After registration, you can customize your Yandex Disk system at your own discretion. Let's look at the basic setup of the programs.

Setting up Yandex Disk, click the right mouse button on the program icon in the tray. Here we also have a list of remaining synchronized files and a small gear in the lower right corner. That's what we need. We press, in the context menu that drops down, we know the item "Nalastuvannya".

This tab configures the launch of programs when you log in and enables the ability to retrieve new items from Yandex Disk. You can also change the expansion of the programs folder.

If the work with the Disk is carried out actively, then you are constantly accessing the service and doing all sorts of things, then it is better to turn on auto-enablement - this will save time.

It doesn’t make any sense to change folder retouching, as the author thinks, since you don’t want to create a place on the system drive, and the folder itself lies there. You can transfer the data anywhere, to a flash drive, however, in this case, when the storage device is connected to the computer, the disk will stop running.

And one more nuance: you must make sure that the drive letter when you connect the flash drive matches the instructions in the settings, otherwise the program will not find the path to the folder.

It’s hard to say that there weren’t any new news coming from Yandex Disk for the entire hour of the year.

Oblikovy record

A more informative tab. Here you can see the login for your Yandex account, information about paying for your account, and a button to connect your computer to Disk.

The button icons the function of logging out from Yandex Disk. If you press it again, you will have to enter your login and password again. This can be done manually if you need to connect to another account.

Synchronization

All folders located in the Disk directory are synchronized with the folder, so that all files located in the directory or subfolders are automatically transferred to the server.

For other folders, synchronization can be turned on, otherwise the folder will be deleted from the computer and lost. The menu will also be marked.

Yandex Disk allows you to automatically import photos from a camera connected to your computer. In this case, the program remembers the setup profiles, and when connected, nothing is setup.

Button "Forget the device" Connects all cameras to the computer.

Screenshots

On this tab, you can configure hotkeys for accessing various functions, the type of name and file format.

The program for taking screenshots of the entire screen allows you to use a standard key Prt Scr, and the axis for capturing the singing area will have to be clicked on the screenshot through the shortcut. It’s even more difficult when you need to take a screenshot of part of a window that is maximized to fill the entire screen (for example, a browser). This is where hot buttons come to the rescue.

The connection can be selected either way, so that the combinations will be used by the system.

Proxy

An entire treatise could be written about this installation, surrounded by short explanations.

Proxy server is the server through which the client is sent to the network. It is your own screen between your local computer and the Internet. Such servers offer a variety of functions, such as encrypting traffic to protecting the PC from attacks.

If you happen to use proxies and know what you need, then set up everything yourself. If not, then wine is not required.

Dodatkovo

This tab allows for automatic installation of updates, smooth connections, prompt notifications about cancellations, and notifications about new folders.

Everything has become clearer here, let’s just talk about adjusting the fluidity.

Yandex Disk, with virtual synchronization, downloads files into a number of streams, occupying a large part of the Internet channel. If you need to curb your appetite with programs, you can check this box.

Now we know where to set up Yandex Disk and what to change in the program. You can repair the robot.

Yandex Disk is a terrible beast, because it is used to save information and access it without any device. On the PC, VIN looks like the primary folder. When copying files, synchronization is automatically initiated and the data is sent to the server. Therefore, you can download all your information on any gadgets where this program is installed. However, the data is lost in such a way that the data is not synchronized. Let's figure out what the problem might be.

Perhaps the synchronization is simply jammed


We first need to check whether synchronization is turned on. To do this, in the lower right corner of the screen, on the notification panel, click on the Yandex Drive icon with the left mouse button. Whenever an animal appears, you will receive a robotic program. To start it, click on the corresponding button.

The place ended in the dark






It often happens that the user does not notice when the space on the disk runs out. Through this synchronization is applied. To check this, click the Yandex Disk icon in the notification area. Click on the gear icon. Next, select the “Options” menu item. In the window, we need the “Account” section.

Antivirus blocked synchronization

It rarely gets pushed to the edge like this. In order to check it, just turn on the anti-virus software for an hour. If everything changes again, you need to add the program to the culprit. Every time, do not lose your computer without protection!

Problems with the Internet






Another of the most widespread problems is problems with the fence. If you experience interruptions in your favorite websites, then Yandex. The disk will be marked with a value. You simply cannot synchronize the data. For the most serious problem, I will contact you again to inform the area. Here we click on the monitor icon with the right mouse button. Select “Control Center for Barriers and External Access”. On the left side of the window, click on the words “Change adapter settings.” You will check all your network connections. If you use Wi-Fi, you will see a drone-free connection. Drill Internet, also connected via local network. In both cases, the option “Connected” is indicated. If this is not the case, you will need to contact your provider for diagnostics.

Nothing helped?


If the prescribed deadlines do not help, you can inform Yandex about the payment. To do this, press the left mouse button behind the Yandex.Disk icon. Then click on the gear icon. Select the menu section “Advancement” and “Notify Yandex about the settlement”.

Yandex.Disk is one of the few Yandex services, some of which are desktop software. And one of its most important components is the algorithm for synchronizing local files with their copy in the archive. Recently we had the opportunity to remember him thoroughly. Since the old version was very important in transferring tens of thousands of files and previously did not respond quickly to the actions of the “folding” of the account manager, the new version, using the same resources, copes with hundreds of thousands of files.

In this post I will find out why this happened: what we couldn’t transfer if we knew the first version of Yandex.Disk software, and how we created a new one.

Let us first talk about synchronization. Technically speaking, it means that the father of Yandex.Disk on his computer has the same set of files. Then such actions as renaming, deleting, copying, adding and changing files are synchronized with the system automatically.

Why isn’t it as simple as it seems at first glance?

Theoretically, the problem can be forgivable, but in reality it comes down to various difficult situations. For example, a person renamed a folder on her computer, they detected it and sent a command to the backend. However, no one from the correspondents checks until the backend confirms the success of the rename. The person immediately opens her locally renamed folder, creates a subfolder for it, and, for example, transfers some files from it. We have found ourselves in a situation in which it is impossible to immediately cancel all the necessary synchronization operations in the dark. You must first ensure that the first operation is completed before you can continue.

The situation can become even more complex, since a number of clients are working with one account record at the same time, or they have a separate folder. And it is often necessary to work in organizations such as Yandex.Disk. Be aware that in the first instance, at the moment when we have removed the confirmation of the first change from the backend, the next user will take and rename this folder again. In this case, it is again impossible to immediately log out of events that you have already created the first account on your computer. The folder that was running locally is now called differently on the backend.

Problems occur when the file on the computer of the koristuvach cannot be called the same as it is called by the khmara. It may be that the name contains a character that cannot be recognized by the local file system, or in the event that the user is asked to access a separate folder, and the file contains its own folder with such names. In such situations, we have to create local aliases and identify their connections with objects in the dark.

Previous version of the algorithm

The latest version of the desktop software Yandex.Disk has a tree alignment algorithm for searching for changes. Otherwise, the decision at that time did not allow the implementation of moves and renames, since the backend did not have unique object identifiers.

In this version of the algorithm, we used three main trees: local (Local Index), remote (Remote Index) and still synchronized (Stable Index). In addition, in order to avoid repeated generation of already generated synchronization operations, two more additional trees were selected: local and expected (Expected Remote Index and Expected Local Index). These auxiliary trees save the local file system from being referenced and remain silent after the termination of all synchronization operations that are already in progress.


The procedure for leveling trees in the old algorithm looked like this:
  1. If the locally recovered tree is the same tree that is recovered, empty, initializes them, copies of the remaining synchronized tree;
  2. The local tree is aligned with the resulting node and the results of the alignment of surrounding nodes are fed into the synchronization operation in the map (creating collections, transferring files to the map, moving and removing them in the map);
  3. For all operations that are put into practice in the first place, we fix the current effect in the pickled gloomy tree;
  4. An equalized tree with local retrieval, and the results of the alignment of surrounding nodes are completed by a synchronization operation with the local file system (created directory, import of files from the deleted file, moving and deleting local files ів that directory);
  5. For all operations that are put into action in the first place, the current effect is recorded in the local tree, which will be updated;
  6. If one-time operations are carried out with one and the same file or directory (for example, transferring a file to a file or downloading a file from a file), then a conflict is detected - the file has changed in two places;
  7. If the synchronization operation is carried out on Windows or on the local file system, the result is written to the rest of the synchronized tree;
  8. If the synchronization operation is empty, it is possible to see that the dirty tree that is being cleaned is locally cleaned. Synchronization is completed and we no longer need the stink.

Why did we happen to have a new algorithm?

The main problems of the tree alignment algorithm were the high memory consumption and the need to completely align trees for small changes, which led to a great demand on the processor. During the hour of processing changes to one file, the RAM memory increased by approximately 35%. Let’s say the koristuvach had 20,000 files. So, with a simple rename of one file of 10 KB in size, the additional memory grew exponentially - from 116 MB to 167 MB.

We also wanted to increase the maximum number of files that can be accessed by clients without any problems. A dozen or even hundreds of thousands of files may appear, for example, from a photographer who saves the results of photo sessions in Yandex.Disk. This issue has become especially relevant since people have the opportunity to get additional space on Yandex.Disk.

The grower also wanted to change something. The improvement of the old version required difficulties, fragments of data from one element were found in different trees.

At that time, the IDs of objects appeared on the backend, with the help of which it was possible to more effectively determine the previously detected movement - previously we had vikorist routes.

New algorithm

We decided to change the data storage structure and replace three trees (Local Index, Remote Index, Stable Index) with one, which would not lead to a reduction in the supra-dimensionality in the main data structure. Through those keys in the tree that lead to the file system element, as a result, the storage significantly reduces the amount of RAM that is being processed.


We were also able to select additional trees during synchronization, since the tree element in the new version saves all the necessary data. This change in structure significantly reduced the improvement of the code.

Once we realized that this was a serious change, we created a prototype that confirmed the effectiveness of the new solution. Let's take a look at how the data in the tree changes when a new file is synchronized.

  1. After adding a new file to the Disk folder, the program detected it and added a new element to the tree. This element is divided into only one country – local. Since stable and remote will become daily, the memory for them is not visible;
  2. The program creates an upload file. A push will arrive, which confirms the appearance of a new file, and the tree will be given a remote status;
  3. Become local and remote to match. Thus, as soon as the stinks are avoided, a stable figure is achieved;
  4. The local and remote settings are visible. Stinks are no longer needed, because all the information is available from stable.


In this example, you can see that in the new synchronization algorithm, these elements and steps are processed, data about changes in which were removed from the file system or corruption, and not the entire tree, as was the case before. If necessary, parent and child nodes will be retrieved (for example, when folders are moved).

Other colors

In the new version, we worked on other improvements that impacted productivity. The saving tree was created incrementally, which allows you to write the file as soon as possible.

Yandex.Disk uses sha256 and MD5 vikory digests to verify the integrity of files, identify fragments that have changed, and deduplicate files on the backend. Since this design puts a lot of pressure on the CPU, in the new version the implementation of the digest layout has been thoroughly optimized. The speed of extracting the digest file has been increased by approximately twofold.

Numbers

Synchronization of unique 20,000 files of 10Kb each

Calculation of digests of unique 20,000 files of 10 kb each (indexation)

Running from 20,000 synchronized files of 10Kb each

Upload 1Gb. Wi-Fi connection 10 Mbit
Hour, sec

What happened?

From the examples it is clear that the new version of Yandex.Disk uses approximately 3 times less RAM and approximately 2 times less CPU usage. Processing other changes does not lead to an increase in the amount of memory that is being used.

As a result of these changes, the number of files that the program can handle without problems has increased. The Windows version has 300,000, and the Mac OS X version has 900,000 files.

Maintains data on the server through synchronization. Apparently, if it doesn’t work, the sense of the software version of the system is wasted. Therefore, the situation needs to be addressed as soon as possible.

The way the problem worsens lies in the cause of it. If you ever have a problem, you can figure out why Yandex Disk is not synchronizing, you can do it yourself without wasting a lot of time.

Reason 1: Synchronization is not enabled

The most obvious thing to check first is that synchronization is enabled in the program. To do this, click on the Yandex Disk icon at the top of the window to find out about it. To press down, press the second button.

Reason 2: Internet connection problems

How do you get information from the program window? "Pomilka z'ednannya" Well, it would be logical to check how your computer is connected to the Internet.

To check your Internet connection, click on the icon "Merezha". If required, connect to the working connection.

Return respect to the flow connection camp. Here comes the buti status "Internet access". Otherwise, you will need to contact your provider, who may be solving the connection problem.

Sometimes the program may fail due to low internet connection speed. Therefore, you need to try to start synchronization by turning on other programs such as Internet browsing.

Reason 3: The demon has no place

It’s possible that your Yandex Disk has simply run out of space, and there’s no room for new files. To check this, go to the “Gloomy” page and look at the scale of your superficiality. The vaughn is rotted at the bottom of the barrel column.

For synchronization to work, the tendon must be cleaned or expanded.

Reason 4: Synchronization is blocked by antivirus

In some cases, the antivirus program can block the Yandex Disk synchronization robot. Try turning it on inappropriately and watch the result.

Reason 5: Multiple files are not synchronized

Some files may not be synchronized due to:

  • The amount of these files is too large to accommodate them on the storage device;
  • These files are analyzed by other programs.

In the first case, you need to check for free space on the disk, and in the other case, close all programs that reveal the problematic file.

Note: files larger than 10 GB cannot be imported on Yandex Disk.

Reason 6: Yandex blocked in Ukraine

Due to recent innovations in the legislation of Ukraine, Yandex and all its services have ceased to be available to residents of this country. Yandex Disk synchronization also works under power, because... Data exchange is carried out from Yandex servers. The representatives of these companies are trying to do everything possible to solve the problem, but for now the Ukrainians are worried about finding ways to bypass the blocking on their own.

To update the synchronization robot, you can try using VPN connections. However, in this case, there are no extensions for browsers - you will need a VPN program to encrypt the connections of all programs, including Yandex Disk.

A reminder about the mercy

If none of these methods help, then it would be right to report the problem to the distributors. To do this, click on the settings icon and move the cursor to the item "Dovidka" and select “Inform Yandex about the settlement”.

Without a doubt, you will receive support from the support service for your problem.

To promptly change data on your storage device, synchronization in the Yandex Disk program is enabled. For this purpose, the computer must be connected to the Internet, there will be enough space for new files, and the files will not need to be opened in other programs. If the cause of the problems with synchronization could not be determined, contact the Yandex support service.